Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed QEI HIDScope BiQuad4th_order biquadFilter MODSERIAL FastPWM
Diff: main.cpp
- Revision:
- 1:b862262a9d14
- Parent:
- 0:67c50348f842
- Child:
- 2:3feeeb434275
--- a/main.cpp Fri Aug 30 10:18:40 2019 +0000
+++ b/main.cpp Wed Sep 04 15:30:13 2019 +0000
@@ -1,19 +1,22 @@
#include "mbed.h"
//#include "HIDScope.h"
//#include "QEI.h"
-//#include "MODSERIAL.h"
+#include "MODSERIAL.h"
//#include "BiQuad.h"
+//#include "FastPWM.h"
DigitalOut led(LED_RED);
+MODSERIAL pc(USBTX, USBRX);
int main()
{
pc.baud(115200);
+ pc.printf("\r\nStarting...\r\n\r\n");
while (true) {
- led1 = !led1;
+ led = !led;
wait_ms(500);
}