Switches 2.0
Dependencies: mbed QEI HIDScope BiQuad4th_order biquadFilter MODSERIAL FastPWM
main.cpp@0:67c50348f842, 2019-08-30 (annotated)
- Committer:
- RobertoO
- Date:
- Fri Aug 30 10:18:40 2019 +0000
- Revision:
- 0:67c50348f842
- Child:
- 1:b862262a9d14
Working version of libraries for BioRobotics
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RobertoO | 0:67c50348f842 | 1 | #include "mbed.h" |
RobertoO | 0:67c50348f842 | 2 | //#include "HIDScope.h" |
RobertoO | 0:67c50348f842 | 3 | //#include "QEI.h" |
RobertoO | 0:67c50348f842 | 4 | //#include "MODSERIAL.h" |
RobertoO | 0:67c50348f842 | 5 | //#include "BiQuad.h" |
RobertoO | 0:67c50348f842 | 6 | |
RobertoO | 0:67c50348f842 | 7 | DigitalOut led(LED_RED); |
RobertoO | 0:67c50348f842 | 8 | |
RobertoO | 0:67c50348f842 | 9 | |
RobertoO | 0:67c50348f842 | 10 | int main() |
RobertoO | 0:67c50348f842 | 11 | { |
RobertoO | 0:67c50348f842 | 12 | pc.baud(115200); |
RobertoO | 0:67c50348f842 | 13 | |
RobertoO | 0:67c50348f842 | 14 | while (true) { |
RobertoO | 0:67c50348f842 | 15 | |
RobertoO | 0:67c50348f842 | 16 | led1 = !led1; |
RobertoO | 0:67c50348f842 | 17 | |
RobertoO | 0:67c50348f842 | 18 | wait_ms(500); |
RobertoO | 0:67c50348f842 | 19 | } |
RobertoO | 0:67c50348f842 | 20 | } |