Mercurial > hg > beaglert
comparison examples/level_meter/render.cpp @ 310:02c4ca0e3718 prerelease
Renamed pinModeFrame -> pinMode
author | andrewm |
---|---|
date | Fri, 27 May 2016 18:29:20 +0100 |
parents | 1feb9c23ac57 |
children | 493a07f6ec09 |
comparison
equal
deleted
inserted
replaced
309:6b717992c8d2 | 310:02c4ca0e3718 |
---|---|
58 gThresholds[i] = powf(10.0f, (-1.0 * (NUMBER_OF_SEGMENTS - i)) * .05); | 58 gThresholds[i] = powf(10.0f, (-1.0 * (NUMBER_OF_SEGMENTS - i)) * .05); |
59 } | 59 } |
60 | 60 |
61 for(int i = 0; i < NUMBER_OF_SEGMENTS; i++) { | 61 for(int i = 0; i < NUMBER_OF_SEGMENTS; i++) { |
62 gSamplesToLight[i] = 0; | 62 gSamplesToLight[i] = 0; |
63 pinModeFrame(context, 0, i, OUTPUT); | 63 pinMode(context, 0, i, OUTPUT); |
64 } | 64 } |
65 | 65 |
66 return true; | 66 return true; |
67 } | 67 } |
68 | 68 |