I'm using LPCXpresso v8.2.2_650 to create application for LPC1768.
In my code I use sscanf to fill an unsigned char variable:
unsigned char u8arr[5];
sscanf(str, "%hhu", &u8arr[1]);
when executed the instruction above fill also u8arr[2].
Is there a bug in sscanf function?
Thank you in advance for reply