Oud verslag voor Biquad.

Dependencies:   Biquad HIDScope QEI angleandposition controlandadjust mbed

Fork of includeair by Jasper Gerth

Committer:
Gerth
Date:
Fri Oct 09 12:46:10 2015 +0000
Revision:
0:dd66fff537d7
Child:
1:917c07a4f3ec
start of the final program;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Gerth 0:dd66fff537d7 1 #include "mbed.h"
Gerth 0:dd66fff537d7 2
Gerth 0:dd66fff537d7 3 DigitalOut gpo(D0);
Gerth 0:dd66fff537d7 4 DigitalOut led(LED_RED);
Gerth 0:dd66fff537d7 5
Gerth 0:dd66fff537d7 6 int main()
Gerth 0:dd66fff537d7 7 {
Gerth 0:dd66fff537d7 8 while (true) {
Gerth 0:dd66fff537d7 9 gpo = !gpo; // toggle pin
Gerth 0:dd66fff537d7 10 led = !led; // toggle led
Gerth 0:dd66fff537d7 11 wait(0.2f);
Gerth 0:dd66fff537d7 12 }
Gerth 0:dd66fff537d7 13 }