Ringo's Light Sensor Sketches
Posted: Wed Jun 29, 2016 1:56 am
I am working my way through Ringo Educational Guide and everything was going fairly smoothly until I got to page 39, Using Ringo's Light Sensors and needing to use the Serial Monitor.
I typed the short sketch on page 39 that reads the right light sensor and prints the value in the Serial Monitor. No compiling problems but the serial monitor just displays a series of weird punctuation characters all on one line, not the expected values of 0 to 1024 and no line feeds.
I then tried the program on page 41 reading all three sensors and I got the same result.
When I tried an included sketch like AnalogInOutSerial, the Serial Monitor appears to function properly.
Any ideas where the problem lies with my light sensors and sketch?
I typed the short sketch on page 39 that reads the right light sensor and prints the value in the Serial Monitor. No compiling problems but the serial monitor just displays a series of weird punctuation characters all on one line, not the expected values of 0 to 1024 and no line feeds.
I then tried the program on page 41 reading all three sensors and I got the same result.
When I tried an included sketch like AnalogInOutSerial, the Serial Monitor appears to function properly.
Any ideas where the problem lies with my light sensors and sketch?