diff examples/basic_button/render.cpp @ 310:02c4ca0e3718 prerelease

Renamed pinModeFrame -> pinMode
author andrewm
date Fri, 27 May 2016 18:29:20 +0100
parents 1feb9c23ac57
children db2fe4e1b88e
line wrap: on
line diff
--- a/examples/basic_button/render.cpp	Fri May 27 18:26:45 2016 +0100
+++ b/examples/basic_button/render.cpp	Fri May 27 18:29:20 2016 +0100
@@ -21,8 +21,8 @@
 
 bool setup(BelaContext *context, void *userData)
 {
-	pinModeFrame(context, 0, P8_08, INPUT);
-	pinModeFrame(context, 0, P8_07, OUTPUT);
+	pinMode(context, 0, P8_08, INPUT);
+	pinMode(context, 0, P8_07, OUTPUT);
 	return true;
 }