Go Down

Topic: How can i turn a Decimal nr. into a hexadecimal nr (Read 1 time) previous topic - next topic



how is it possible to turn a Decimal nr. into a hexadecimal nr in the programm,

i get values in dezi and have to change it into hexa fore playing songs at the mp3 player.....

i hope you get my question




I'm not sure what you mean.  What do you have to do with the hex number?  printHex(num) will print the number as a hex string over the serial port.


thats not what im surcing fore.

i count (something) so i get decimal numbers
than i want to play a song from a mp3 player, so i thats why I have to turn the tracknumber (which i get out of the count) from a decimal in to a hexadecimal number,

a bad discription again....

Go Up