ASC function is not working in our caseUse the ASC function.
What numbers are you getting and what are you expecting ?
sorry0011 1001 is not 39- decimal
It is 57-decimal = ASCII "9"
There are 10 types of people in the world, those who understand binary and those who don't.
Write a routine on the MCU equivalent to num2str(int d).
It is not difficult.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
UART/CODE problem Oshonsoft | Microcontrollers | 72 | ||
3D printer G-code problem | General Electronics Chat | 3 | ||
S | [SOLVED] problem with IAR code | Programming & Languages | 7 | |
Problem Uploading code in Custom Board Atmega328P U-TH | Microcontrollers | 14 | ||
dsPIC33CH I2C code syntax problem (SOLVED) | Microcontrollers | 25 |