diff projects/analogDigitalDemo/render.cpp @ 87:567bd8f76714

Added TODO in analogDigitalDemo
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 18 Jul 2015 04:31:40 +0100
parents 3c3a1357657d
children ac8eb07afcf5
line wrap: on
line diff
--- a/projects/analogDigitalDemo/render.cpp	Sat Jul 18 02:29:03 2015 +0100
+++ b/projects/analogDigitalDemo/render.cpp	Sat Jul 18 04:31:40 2015 +0100
@@ -33,6 +33,9 @@
 we assume that gNumAnalogChannels=8, numAnalogFrames==8 and  numDigitalFrames==numAudioFrames
  * */
 {
+  /*
+  * TODO: as an exercise, you will need to set the pin mode before writing or reading the digital pins.
+  */
 	if((context->audioSampleCount&31)==0){ //every 32 frames...
         //ANALOG channels
 		analogWriteFrame(context, 0, 0, analogReadFrame(context, 0,0));