Forgot your password?
No account? Register one!
July 8, 2011
Product RTL-11022 |
about 2 years ago
I found a typo in the printed manual that comes with the kit. The “Making It Better” section of CIRC-08, incorrectly states “the analogRead() function returns a value from 0 to 1024”; analogRead() actually returns a value from 0 to 1023.
I found this the hard way by setting the LED attached to pin 13 on and off when the value returned by analogRead was 0 and 1024, respectively. The LED never turned on. When I checked for 1023 instead, the LED turns on and off as expected.
The corresponding text at the Oomlout site has already been updated; it’s the printed version provided with the kit that is out of date.
No public wish lists :(