diff projects/basic_analog_output/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_output/render.cpp	Tue May 17 15:53:24 2016 +0100
+++ b/projects/basic_analog_output/render.cpp	Tue May 17 18:46:55 2016 +0100
@@ -23,13 +23,15 @@
 connected to the eight analog out pins. Again you can see the nested `for` loop 
 structure but this time for the analog output channels rather than the audio.
 
-Within the first `for` loop in render we cycle through each frame in the analog 
+- connect an LED in series with a 470ohm resistor between each of the analogOut pins and ground.
+
+Within the first for loop in render we cycle through each frame in the analog 
 output matrix. At each frame we then cycle through the analog output channels 
-with another `for` loop and set the output voltage according to the phase of a 
+with another for loop and set the output voltage according to the phase of a 
 sine tone that acts as an LFO. The analog output pins can provide a voltage of 
 ~4.092V.
 
-The output on each pin is set with `analogWriteFrame` within the `for` loop that 
+The output on each pin is set with `analogWriteFrame()` within the for loop that 
 cycles through the analog output channels. This needs to be provided with 
 arguments as follows `analogWriteFrame(context, n, channel, out)`. Channel is 
 where the you give the address of the analog output pin (in this case we cycle