diff 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
line wrap: on
line diff
--- a/examples/stepper/render.cpp	Fri May 27 18:26:45 2016 +0100
+++ b/examples/stepper/render.cpp	Fri May 27 18:29:20 2016 +0100
@@ -58,11 +58,11 @@
 		return false;
 	}
 	
-	pinModeFrame(context, 0, gPinA1, OUTPUT);
-	pinModeFrame(context, 0, gPinA2, OUTPUT);
-	pinModeFrame(context, 0, gPinB1, OUTPUT);
-	pinModeFrame(context, 0, gPinB2, OUTPUT);
-	pinModeFrame(context, 0, gPinServo, OUTPUT);
+	pinMode(context, 0, gPinA1, OUTPUT);
+	pinMode(context, 0, gPinA2, OUTPUT);
+	pinMode(context, 0, gPinB1, OUTPUT);
+	pinMode(context, 0, gPinB2, OUTPUT);
+	pinMode(context, 0, gPinServo, OUTPUT);
 		
 	return true;
 }