Mercurial > hg > beaglert
diff examples/basic_pulseIn/render.cpp @ 310:02c4ca0e3718 prerelease
Renamed pinModeFrame -> pinMode
author | andrewm |
---|---|
date | Fri, 27 May 2016 18:29:20 +0100 |
parents | 1feb9c23ac57 |
children | 9dc5a0ccad25 |
line wrap: on
line diff
--- a/examples/basic_pulseIn/render.cpp Fri May 27 18:26:45 2016 +0100 +++ b/examples/basic_pulseIn/render.cpp Fri May 27 18:29:20 2016 +0100 @@ -28,7 +28,7 @@ bool setup(BelaContext *context, void *userData) { - pinModeFrame(context, 0, gDigitalOutPin, OUTPUT); + pinMode(context, 0, gDigitalOutPin, OUTPUT); pulseIn.init(context, gPulseInPin, 1); //third parameter is direction return true; }