Script voor het weergeven van 1 EMG signaal met behulp van een OLIMEX shield. Let hierbij goed op dat je de juiste pinnetjes op het OLIMEX shield verbonden hebt, in dit geval A0 als uitgang. Verder maken we gebruik van 3,3 Volt!
Fork of EMG by
Diff: main.cpp
- Revision:
- 15:0da764eea774
- Parent:
- 14:f83354387756
- Child:
- 16:9f7797ffd0fb
--- a/main.cpp Mon Sep 21 13:48:00 2015 +0000 +++ b/main.cpp Mon Sep 21 13:52:35 2015 +0000 @@ -27,7 +27,7 @@ * this ensures that 'sample' is executed every... 0.002 seconds */ sample_timer.attach(&sample, 0.002); - + /*empty loop, sample() is executed periodically*/ - while(1){} + while(1) {} } \ No newline at end of file