Find Jobs
Hire Freelancers

Compile C code in Visual Studio and make the output display better

$30-250 USD

完了済み
投稿日: 8年近く前

$30-250 USD

完了時にお支払い
We have been given the code below and was told that they ran it in Visual Studio. We are looking for someone that can make a Visual Studio project for us so we can just open it and run the code. We would like the display to look nicer too. Any questions, just ask. Thanks you //import Serial communication library import processing.serial.*; // Variable declaration PFont font22, font44, font14; PFont font12; float tempC; float tempF; float y, h, BattV,Slave_ID, Byte1, Byte2, Byte3, Byte4, Byte5, Byte6, RSSI; Serial USB_UART; int i, j, xx=-15; void setup() { // Define size of window size(350, 350); //setup fonts for use throughout the application font22 = loadFont("[login to view URL]"); font12 = loadFont("[login to view URL]"); font44 = loadFont("[login to view URL]"); font14 = loadFont("[login to view URL]"); //init serial communication port USB_UART = new Serial(this, "COM6", 9600); } void draw() { while ([login to view URL]() > 0) { Byte1 = [login to view URL](); delay(20); Byte2 = [login to view URL](); delay(20); Byte3 = [login to view URL](); delay(20); Byte4 = [login to view URL](); delay(20); Byte5 = [login to view URL](); delay(20); Byte6 = [login to view URL](); background(250, 250, 250); // Light blue color fill(200, 6, 0); smooth(); stroke(0); strokeWeight(2); ellipse(100, 280, 58, 50); noStroke(); fill(0, 46, 200); arc(100, 60, 30, 20, PI, PI+PI); rect(85,60,30,200); fill(250,250, 250); rect(95,60,10,200); // Marks on thermometer stroke(0); strokeWeight(1); textAlign(RIGHT); fill(0,46,250); for (int i = 0; i < 5; i += 1) { line(70, 230-40*i, 80, 230-40*i); if(i < 4) line(75, 210-40*i, 80, 210-40*i); textFont(font12); text(str(40+20*i), 65, 235-40*i); } textAlign(LEFT); for (int i = 0; i < 6; i += 1) { line(118, 242-35*i, 128, 242-35*i); if(i < 5) line(118, 225-35*i, 123, 225-35*i); textFont(font12); text(str(0+10*i), 135, 247-35*i); } noStroke(); fill(0,46,250); textFont(font22); textAlign(LEFT); text("F", 57, 46); text("C", 135, 46); textFont(font12); text("o", 45, 35); text("o", 125, 35); fill(250,90,0); textFont(font22); text("o", 300+xx, 45); text("o", 300+xx, 85); // DS18B20 conversion tempC = Byte4*256+Byte3; tempC = tempC/16; BattV = (Byte5+200)/100; Slave_ID = Byte2; tempF = ((tempC*9)/5) + 32; textFont(font44); RSSI = Byte6; text(nfc(tempC, 2), 200+xx, 60); text(nfc(tempF, 2), 200+xx, 100); text("C", 320+xx, 60); text("F", 320+xx, 100); textFont(font14); text("Battery Voltage = V", 190+xx, 140); text(nfc(BattV, 2), 313+xx, 140); text("Signal Strength = ", 190+xx, 160); text(nfc(RSSI,0), 313+xx, 160); text("Slave ID = ", 190+xx, 180); text(nfc(Slave_ID,0), 313+xx, 180); // Raise mercury level fill(200,0, 0); y = -2.0*tempF + 310; h = 270-y; rect(95, y, 10, h); } }
プロジェクト ID: 10978313

プロジェクトについて

12個の提案
リモートプロジェクト
アクティブ 8年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Hey, I have some questions. First of all, these code seems to be working on another software, not on the Visual Studio only. I have tested this code, it is working on another software, on Windows. There were some errors, but i have solved it. Okey, so code is working but, i don't know what you are transmitting on the Serial port ?. Maybe, code is working based on serial port data, so, i don't know what kind of data is required to simulate it. I have tested it by sending some random data on the serial port, but it didn't do anything. Could you please tell me more about it, so that i can give you proper display. ? Thank you.
$66 USD 3日以内
5.0 (2 レビュー)
1.8
1.8
この仕事に12人のフリーランサーが、平均$160 USDで入札しています
ユーザーアバター
Hello I'm interesting your project very well I'm a Good C/C++, VS, , Math, Algorithm expert. I m quite well experienced in these jobs. Let's go ahead with me I want to service for you continously. Thanks
$210 USD 2日以内
4.9 (422 レビュー)
8.4
8.4
ユーザーアバター
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on client side, using c++ under windows environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$150 USD 3日以内
4.9 (155 レビュー)
7.1
7.1
ユーザーアバター
Dear client, how are you? I am a C++ programmer and mathematician. Seems task is appropriate for me. Please check my "Profile & Work List" and tell me details if my skill is in your concern. Looking forward to your response. Thanks.
$350 USD 3日以内
5.0 (35 レビュー)
6.1
6.1
ユーザーアバター
Hello there, I'm a C++ technical consultant with 20 years software and systems engineering experience. Can you please tell me what Library or IDE(i.e. like Visual Studio), was used to develop the current code? I only ask, as it is using classes such as PFont which are not Native to Visual C++ (and the WIn32 or MFC libraries). Other than that, I should be able to help you pretty quickly- but thre will be some porting of code needed, in order to run this code in Visual Studio- as it uses 3rd party libraries or classes. Cheers
$155 USD 3日以内
5.0 (22 レビュー)
5.8
5.8
ユーザーアバター
I can help you. If you need evidences of my skills - have a look to our working history at Freelancer.
$177 USD 5日以内
5.0 (13 レビュー)
5.5
5.5
ユーザーアバター
I have more 20+ years of IT and programming experience with companies like Logica, Philips, Citibank, Amex worldwide working transaction processing systems. This simple job would be very easy for me to do compared to my extensive experience.
$40 USD 3日以内
5.0 (2 レビュー)
1.0
1.0
ユーザーアバター
Hello, I have read all the requirements of this project and my team can provide high quality professional results at a low cost. Our team consists of 4 programmers/designers with over 6 years experience and a vast area of expertise (XHTML, CSS, Flash, PHP,Javascript, Java, C, C++, c# / .NET , Logo design, banner design etc. ). Have a look at FAIS Design portfolio: http://www.freelancer.com/u/faisdesign.html?page=portfolio I am looking forward working on this project ! Regards, Bogdan
$155 USD 3日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
Dear Sirs, I have over 10 years commercial experience and could help you with this project. From looking at the source code the import key word at the top of the file suggest a DLL library. Do you have the DLL library. I assume this is where the window is set up and the graphics come from as there is no entry point in the source code. If not I could write this project from scratch for you. This would obviously take longer and I would need a project specification from you oulining the project details and specification. Please let me know. If you would like further information please do not hesitate to contact me. Kind regards, Chris Davis
$155 USD 3日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

CANADAのフラグ
Sherwood Park, Canada
5.0
66
お支払い方法確認済み
メンバー登録日:1月 11, 2010

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。