I am a student, currently involving in the project where I am developing the software for MCU board. For that I am referring some sample codes to understand the basic structure before I write my own code. I have come across-ed several misunderstood.. those are below
uint8_t uartOutput = 1 ; uint8_t data; static u8 r_count=0 ; //here what is u8 , r_count is a variable, static is the system code #define ELEM_SIZE(array) (sizeof(array) / sizeof(array[0])) #define SEND_CAN_MSG(can_id, msg) send_can_msg(can_id, msg, ELEM_SIZE(msg)) #define LOG(Format, ...) uartOutput && Printf(formt,##__VA_ARGS_)
particularly, I want to know how these codes will work and need explanantion for for each word in each codes. because I am totally unfamiliar with these syntax. Especially, I want to know,, what it is (need explanation) ? and why it is necessary to use ??
Thank you very much for your time
Sorry to bring this up again, but can't help it: http://www.keil.com/forum/59391/
The rise of maker culture, anyone can be a maker, even he doesn't know and doesn't want to learn the basic.
You are a maker, if you buy this product.