comparison examples/stepper/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 if(context->audioFrames != context->digitalFrames) { 56 if(context->audioFrames != context->digitalFrames) {
57 rt_printf("Error: this project needs the audio and digital sample rates to be the same.\n"); 57 rt_printf("Error: this project needs the audio and digital sample rates to be the same.\n");
58 return false; 58 return false;
59 } 59 }
60 60
61 pinModeFrame(context, 0, gPinA1, OUTPUT); 61 pinMode(context, 0, gPinA1, OUTPUT);
62 pinModeFrame(context, 0, gPinA2, OUTPUT); 62 pinMode(context, 0, gPinA2, OUTPUT);
63 pinModeFrame(context, 0, gPinB1, OUTPUT); 63 pinMode(context, 0, gPinB1, OUTPUT);
64 pinModeFrame(context, 0, gPinB2, OUTPUT); 64 pinMode(context, 0, gPinB2, OUTPUT);
65 pinModeFrame(context, 0, gPinServo, OUTPUT); 65 pinMode(context, 0, gPinServo, OUTPUT);
66 66
67 return true; 67 return true;
68 } 68 }
69 69
70 // render() is called regularly at the highest priority by the audio engine. 70 // render() is called regularly at the highest priority by the audio engine.