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.
Fork of priustroller_2 by
Diff: context.cpp
- Revision:
- 17:fd6771a6685a
- Parent:
- 16:c10d0aa3c0e1
- Child:
- 19:280c62c71cf8
diff -r c10d0aa3c0e1 -r fd6771a6685a context.cpp
--- a/context.cpp Mon Mar 09 02:40:36 2015 +0000
+++ b/context.cpp Mon Mar 09 03:05:23 2015 +0000
@@ -5,7 +5,7 @@
#include "filters.h"
#include "context.h"
-Serial *serial = new Serial(USBTX, USBRX);
+float debug_registers[16];
Context::Context() {
_index = 0;
@@ -93,7 +93,8 @@
reference = new SynchronousReferenceSynthesizer(_max_current);
filter_d = new MeanFilter(_filter_strength);
filter_q = new MeanFilter(_filter_strength);
-
+
+ serial = new Serial(USBTX, USBRX);
serial->baud(115200);
}
