
jo
Revision 1:a79ae3f2da21, committed 2013-11-06
- Comitter:
- jaccoton
- Date:
- Wed Nov 06 16:20:43 2013 +0000
- Parent:
- 0:ef25f3cccede
- Commit message:
- uitleg potmeter script
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r ef25f3cccede -r a79ae3f2da21 main.cpp --- a/main.cpp Mon Nov 04 20:40:26 2013 +0000 +++ b/main.cpp Wed Nov 06 16:20:43 2013 +0000 @@ -26,14 +26,14 @@ //LOCAL VARIABLES /*Potmeter input*/ - //AnalogIn potmeter(PTC2); - //AnalogIn potmeter2(PTB0); + AnalogIn potmeter(PTC2); + AnalogIn potmeter2(PTB0); //EMG input - AnalogIn emg0(PTB0); + /*AnalogIn emg0(PTB0); AnalogIn emg1(PTB1); AnalogIn emg2(PTB2); - AnalogIn emg3(PTB3); + AnalogIn emg3(PTB3);*/ /* Encoder, using my encoder library */ /* First pin should be PTDx or PTAx */ /* because those pins can be used as */ @@ -50,7 +50,7 @@ DigitalOut motordir2(PTD1); - /*floats van de filters van het emg*/ + /*/*floats van de filters van het emg*/ pc.baud(115200); // Defining the Baud rate for comunication with PC /*EMG Variables 1*/ float t;