Search Code
About DemoBoard_Servo

First published 19 Sep 2009, with 2 revisions since.
Last update: 22 Sep 2009.
View history

Last change message: N/A

Import this program

DemoBoard_Servo

Published 22 Sep 2009, by   user Chris Styles   tag No tags
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "DemoBoard.h"
00002 
00003 /*
00004  * This project uses a potentiometer to set the position of a Servo motor
00005  */
00006 
00007 int main() {
00008 
00009     while(1) {
00010         servo=potx;
00011     }
00012 
00013 }
00014 
00015