Mercurial > hg > beaglert
comparison examples/level_meter/render.cpp @ 308:1feb9c23ac57 prerelease
Renamed read/write functions to remove the Frame --> e.g. analogWriteFrameOnce -> analogWriteOnce, digitalReadFrame -> digitalRead
author | andrewm |
---|---|
date | Fri, 27 May 2016 18:21:21 +0100 |
parents | e4392164b458 |
children | 02c4ca0e3718 |
comparison
equal
deleted
inserted
replaced
307:ff5f346a293e | 308:1feb9c23ac57 |
---|---|
124 }*/ | 124 }*/ |
125 else if(--gSamplesToLight[led] > 0) | 125 else if(--gSamplesToLight[led] > 0) |
126 state = HIGH; | 126 state = HIGH; |
127 | 127 |
128 // Write LED | 128 // Write LED |
129 digitalWriteFrameOnce(context, n, led, state); | 129 digitalWriteOnce(context, n, led, state); |
130 } | 130 } |
131 } | 131 } |
132 } | 132 } |
133 | 133 |
134 // cleanup() is called once at the end, after the audio has stopped. | 134 // cleanup() is called once at the end, after the audio has stopped. |