Find Jobs
Hire Freelancers

Really simple C++ Arduino Question -- 2

$10-30 CAD

Imekamilika
Imechapishwa over 1 year ago

$10-30 CAD

Kulipwa wakati wa kufikishwa
I have a function that returns an integer value which can be negative or positive. I need to pass the integer over Arduino hardware serial and store it in an integer on the receiving Arduino. However serial only allows to send 1 8 bit byte at a time as a 8 bit unsinged integer so negative values get messed up.
Kitambulisho cha mradi: 35700810

Kuhusu mradi

4 mapendekezo
Mradi wa mbali
Inatumika 1 yr ago

Unatafuta kupata pesa?

Faida za kutoa zabuni kwenye Freelancer

Weka bajeti yako na muda uliopangwa
Pata malipo kwa kazi yako
Eleza pendekezo lako
Ni bure kujiandikisha na kutoa zabuni kwa kazi
Imetolewa kwa:
Picha ya Mtumiaji
To transmit negative numbers over serial, you can use two's complement representation. Two's complement representation is a way to represent negative numbers in binary. To find the two's complement representation of a negative number, you can first find the absolute value of the number in binary. Then, you can invert all the bits and add 1 to the result. For example, to find the two's complement representation of -5, you can first find the binary representation of 5, which is 101. Then, you can invert all the bits to get 010, and add 1 to get 011. The two's complement representation of -5 is therefore 011. I have a script if you want it hire me!!!!!!!!!!!!!!!!!!!!
$30 CAD ndani ya siku 7
0.0 (0 hakiki)
0.0
0.0
4 wafanyakazi huru wana zabuni kwa wastani $23 CAD kwa kazi hii
Picha ya Mtumiaji
Hi! I'm a certified embedded systems Engineer with 7years experience in the field and very good knowledge on microcontrollers like esp32, arduino, stm32...etc; I also have experience in designing PCB with good signal integrity using Altium, kicad and easyEDA. I bid on your project because I have the expertise to deliver a quality work in a very short time. Please, respond to the offer so that we can discuss details of your project. I'm a perfectionist and I'm ready to start your work immediately. Thank you in advance. Best Regards
$20 CAD ndani ya siku 1
5.0 (10 hakiki)
3.2
3.2
Picha ya Mtumiaji
Hi, how are you doing? I am Michael, I have carefully read through the description of your project, I am interested and fully capable of executing it with my array of skillsets. - Arduino - C++ - C I have successfully performed similar projects in the past. I would be delighted to engage in a conversation about the project. Dm me for a 15-30 minutes chat about your project, I would love to share my solution(s) with you. Thanks
$20 CAD ndani ya siku 2
0.0 (0 hakiki)
0.0
0.0
Picha ya Mtumiaji
Hi, I realized your task well. I can give you a correct and powerful solution. let us chat to discuss further details. thank you
$20 CAD ndani ya siku 3
0.0 (0 hakiki)
0.0
0.0

Kuhusu mteja

Bedera ya CANADA
merrickville, Canada
5.0
1
Njia ya malipo imethibitishwa
Mwanachama tangu Okt 5, 2020

Uthibitishaji wa Mteja

Asante! Tumekutumia kiungo cha kudai mkopo wako bila malipo kwa barua pepe.
Hitilafu fulani imetokea wakati wa kutuma barua pepe yako. Tafadhali jaribu tena.
Watumiaji Waliosajiliwa Jumla ya Kazi Zilizochapishwa
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Onyesho la kukagua linapakia
Ruhusa imetolewa kwa Uwekaji wa Kijiografia.
Muda wako wa kuingia umeisha na umetoka nje. Tafadhali ingia tena.