Quote:
|
Originally Posted by SilverStar
Some corrections:
1. On the PIC microcontroller that FIRST uses, double is an alias for float (they're the same exact thing, both 32 bit).
2. pg. 14 - c= (char)counter - will simply cause an overflow to "wrap" around, not cause an error (I think)
3. What about pointers? I think they're important enough to be included (I included them in my guide - plug  ).
|
1. thanks for the tip, i'll add a note to that effect (but i do want people to know that they're different in normal C... hopefully they can take away some real-world programming skill too

)
2. i'll test it to double-check, but chances are it would cause an overflow error (and my view of the platform will go down if it doesn't)
3. of course they're important - remember that I'm not done with it yet - I was actually planning to do pointers next, and probably macros after that, and I'll throw in variable scope and lifetime somewhere in there.