Mercurial > hg > beaglert
comparison examples/basic_blink/render.cpp @ 310:02c4ca0e3718 prerelease
Renamed pinModeFrame -> pinMode
author | andrewm |
---|---|
date | Fri, 27 May 2016 18:29:20 +0100 |
parents | 1feb9c23ac57 |
children | db2fe4e1b88e |
comparison
equal
deleted
inserted
replaced
309:6b717992c8d2 | 310:02c4ca0e3718 |
---|---|
12 // | 12 // |
13 // Return true on success; returning false halts the program. | 13 // Return true on success; returning false halts the program. |
14 | 14 |
15 bool setup(BelaContext *context, void *userData) | 15 bool setup(BelaContext *context, void *userData) |
16 { | 16 { |
17 pinModeFrame(context, 0, P8_07, OUTPUT); | 17 pinMode(context, 0, P8_07, OUTPUT); |
18 return true; | 18 return true; |
19 } | 19 } |
20 | 20 |
21 // render() is called regularly at the highest priority by the audio engine. | 21 // render() is called regularly at the highest priority by the audio engine. |
22 // Input and output are given from the audio hardware and the other | 22 // Input and output are given from the audio hardware and the other |