Arduino subscript to convert hex chars to long integer (decimal) then long integer (decimal) back to hex chars

Basically what we need is a quick C++ (Arduino specifically) subscript that we can call that allows you to convert a character array that consists of up to 8 hex characters (so 4 bytes) into a long integer decimal number and also an ability to convert a long integer decimal number back into an up to 8 character array.

We have some existing code that works that we can send to you to see what we are trying to achieve here that returns the right values but it is crude and does not allow it to be pulled easily as subscript(s) and it's not cleanly written. Basically the code just needs to be cleaned up and made easier to pull as a subscript(s) to have it do these conversions. It's just not well written code at present and we would like someone who does this regularly to polish it off some.

In short:

It should populate a char array with a set of hex values, reading the actual values (so as an example, 0001E848 put into each element of the array). Then convert that into an unsigned long (so 125000 also as an example).

We would be able to modify that number as a standard long integer if needed (not part of this but the example just randomizes it slightly to test it) and then it passes the resulting decimal number back to this or a separate subscript.

The subscript would then convert that number back to the same data type as before, a char array so that we can then pass those values along to other functions (also not part of this).

That's it. Don't leave memory open, don't use Strings or memory leaking approaches, please just keep this clean and well written.

Evner: Arduino, C++ Programmering, C programmering, Microcontroller, Elektronik

Se mere: php convert hex, color white convert hex, convert hex color value rgb php, php convert hex color, convert hex rgb using php, convert hex color values rgb values, using script automatically convert hex rgb, rgb convert hex values, convert hex rgb php, convert hex decimal assembly language, convert hex decimal assembly code, assembly language convert hex decimal code, assembly language program convert hex decimal, assembly program convert hex decimal, write assembly language program convert hex decimal

Om arbejdsgiveren:
( 26 bedømmelser ) Mebane, United States

Projekt ID: #20751953

Tildelt til:


I've been coding embedded c++ for over 3 years, and can clean up your code without any trouble. Looking forward to hear more, best regards Jonas.

$20 USD in 7 dage
(2 bedømmelser)

7 freelancere byder i gennemsnit $25 på dette job


Hi There I have checked your project description and understand everything. I am very confident that i can do this project perfectly. As i have 10+ years of experience in this field. The bid is negotiable and we can t Flere

$40 USD in 2 dage
(296 bedømmelser)

Hello Sir I am Programmer, Circuit Designer & PCB Layout designer. I can programme Arduino and PIC microcontrollers. I can design circuits and also design Professional PCB in Proteus design suite. I have rich experien Flere

$20 USD på 1 dag
(121 bedømmelser)

Hi, I am a hardware design engineer. I am familiar with C++ and Arduino. I can write a code for this subscript. We can discuss details. Regards.

$18 USD in 2 dage
(4 bedømmelser)

Efficient use of memory and freeing memory blocks that aren't in use is my big concern in the project . As an Embedded systems developer and C programmer , I have to take the most efficient method to write a program .

$30 USD på 1 dag
(7 bedømmelser)

Dear Employer, I am an Electronics Engineer and a programmer. I can convert hex to decimal and vice versa. I did in one of project the same thing which you want now. I can complete this in short time. Thank you Flere

$15 USD in 2 dage
(4 bedømmelser)

Hi,dear. I have just read your project and I felt happy to see it. I have experienced for +7 years in this field. Particularly, I have ever done the job like this as you want. I want to hear your advice and discuss in Flere

$30 USD på 1 dag
(2 bedømmelser)