Mercurial > hg > beaglert
comparison examples/7segment/render.cpp @ 310:02c4ca0e3718 prerelease
Renamed pinModeFrame -> pinMode
author | andrewm |
---|---|
date | Fri, 27 May 2016 18:29:20 +0100 |
parents | 1feb9c23ac57 |
children | 9dc5a0ccad25 |
comparison
equal
deleted
inserted
replaced
309:6b717992c8d2 | 310:02c4ca0e3718 |
---|---|
56 rt_printf("Error: this project needs the audio and digital sample rates to be the same.\n"); | 56 rt_printf("Error: this project needs the audio and digital sample rates to be the same.\n"); |
57 return false; | 57 return false; |
58 } | 58 } |
59 | 59 |
60 for(int i = 0; i < NUM_PINS; i++) { | 60 for(int i = 0; i < NUM_PINS; i++) { |
61 pinModeFrame(context, 0, kPins[i], OUTPUT); | 61 pinMode(context, 0, kPins[i], OUTPUT); |
62 } | 62 } |
63 | 63 |
64 return true; | 64 return true; |
65 } | 65 } |
66 | 66 |