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 biquadFilter MODSERIAL FastPWM
Revision 3:4a673901c19f, committed 2019-09-25
- Comitter:
- fb07
- Date:
- Wed Sep 25 08:40:00 2019 +0000
- Parent:
- 2:45a85caaebfb
- Child:
- 4:784cc0f3c97b
- Commit message:
- First version working without errors
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Sep 25 08:35:17 2019 +0000
+++ b/main.cpp Wed Sep 25 08:40:00 2019 +0000
@@ -5,8 +5,7 @@
// Marleen van der Weij - s1800078
// Mevlid Yildirim - s2005735
-DigitalOut led(LED_RED); //Geen idee waar we dit kwijt willen
-MODSERIAL pc(USBTX, USBRX); //Geen idee waar we dit kwijt willen
+
//*****************************************************************************
// 1. Libraries ******************************************************************
@@ -28,6 +27,8 @@
//*****************************************************************************
Ticker loop_ticker; // The Ticker object that will ensure perfect timing of our looping code
+DigitalOut led(LED_RED); //Geen idee waar we dit kwijt willen
+MODSERIAL pc(USBTX, USBRX); //Geen idee waar we dit kwijt willen
@@ -36,7 +37,7 @@
//******************************************************************************
void main_loop() { //Beginning of main_loop()
- pcprintf("main_loop is running succesfully \r\n")
+ pc.printf("main_loop is running succesfully \r\n");
// 4.1 Measure Analog and Digital input signals ********************************
// 4.2 Run state-machine(s) ****************************************************