Find Jobs
Hire Freelancers

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

$30-250 USD

Terminado
Publicado hace más de 7 años

$30-250 USD

Pagado a la entrega
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 del proyecto: 10978313

Información sobre el proyecto

13 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
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 en 3 días
5,0 (2 comentarios)
1,8
1,8
13 freelancers están ofertando un promedio de $152 USD por este trabajo
Avatar del usuario
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 en 2 días
4,9 (422 comentarios)
8,5
8,5
Avatar del usuario
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 en 3 días
4,9 (144 comentarios)
7,0
7,0
Avatar del usuario
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 en 3 días
5,0 (35 comentarios)
6,1
6,1
Avatar del usuario
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 en 3 días
5,0 (22 comentarios)
5,9
5,9
Avatar del usuario
I can help you. If you need evidences of my skills - have a look to our working history at Freelancer.
$177 USD en 5 días
5,0 (13 comentarios)
5,5
5,5
Avatar del usuario
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 en 3 días
5,0 (2 comentarios)
1,1
1,1
Avatar del usuario
A proposal has not yet been provided
$55 USD en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0
Avatar del usuario
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 en 3 días
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de CANADA
Sherwood Park, Canada
5,0
59
Forma de pago verificada
Miembro desde ene 11, 2010

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.