diff projects/basic_analog_input/render.cpp @ 285:5433c83ce04e Doxy prerelease

Doxygen content added to more project render.cpp files and amended in others.
author Robert Jack <robert.h.jack@gmail.com>
date Tue, 17 May 2016 18:46:55 +0100
parents ac8eb07afcf5
children
line wrap: on
line diff
--- a/projects/basic_analog_input/render.cpp	Tue May 17 15:53:24 2016 +0100
+++ b/projects/basic_analog_input/render.cpp	Tue May 17 18:46:55 2016 +0100
@@ -26,6 +26,10 @@
 (line 55); we adjust these values by taking in data from analog sensors 
 (for example, a potentiometer).
 
+- connect a 10K pot to 3.3V and GND on its 1st and 3rd pins.
+- connect the 2nd middle pin of the pot to analogIn 0.
+- connect another 10K pot in the same way but with the middle pin connected to analogIn 1.
+
 The important thing to notice is that audio is sampled twice as often as analog 
 data. The audio sampling rate is 44.1kHz (44100 frames per second) and the 
 analog sampling rate is 22.05kHz (22050 frames per second). On line 62 you might