Dependencies:   mbed lwip

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