A keyboard is from computer , that was a exam , and tomorrow i will do it for my examination .
@lloyddean,Why are you using uint8_ts instead of byte?
Quote from: HazardsMind on May 10, 2013, 12:09 am@lloyddean,Why are you using uint8_ts instead of byte?Did my reply above answer your question adequately?
typedef uint8_t byte;
For anything being assigned to a pin, it should be a byte, it saves memory even if it is just one byte less. For anything that actually requires more memory usage like an int or long, signed or unsigned, fine, but a regular pin should be a byte. I'm curious as to what the compiler makes a #define variable.
#define identifier replacement
what about numbers, what does it make them, and how much memory do they use up?