NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Project Help and Ideas » Understanding arrays
January 21, 2011 by Jalex |
Hi This is a parcial clip of the keyboad.c program. str_buf[0] = str_buf[1] = 0x00; I don't know what this line does. If I have figured it right we have an array of 21 positions and this would put what is in location 1 in location 0. Why is this done? If it's 0'ing the positions why doesn't is just clear it? Any thing else you think I might not understad is welcome too. So far I have been writing simple things so I am very green at this.
|
---|
Please log in to post a reply.
Did you know that the Timer/Counter modules on the microcontroller can be configured to output a PWM (Pulse Width Modulation) signal? Learn more...
|