I am attempting to move to C (winavr) from bascom for programming but
getting hung up on some fundamentals.
Given the following
unsigned char byte_in = 0xA;
I need to print the decimal value to UART so I want to see 10. Similar to
printf("%d", byte_in). Lord I hope this makes sense.
Poor planning on your part does not constitute an emergency on my part.Message
Simple casting winavr
2008-01-24 by Bryan Martin