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.
Diff: classes.h
- Revision:
- 32:5bd3f0d073ac
- Parent:
- 30:27838f6fdfd6
- Child:
- 36:4d0e131146e6
diff -r 7896ac3a5a1c -r 5bd3f0d073ac classes.h
--- a/classes.h Fri May 25 23:53:27 2018 +0000
+++ b/classes.h Fri Jun 08 20:57:57 2018 +0000
@@ -28,7 +28,7 @@
// PUBLIC FUNCTIONS ----------------------------------------------------------------------------------------------------------------------------------------
void send_position(float X, float Y, float Z){
- //printf("Position sent\n\r");
+ printf("Position sent\n\r");
buffer = "";
buffer.append("p");
@@ -59,6 +59,7 @@
if(c == '\r'){
translate_gcode(buffer, saved);
saved++;
+ printf("Saved: %d Buffer: %s\n\r", saved, buffer);
buffer = "";
} else if(c == ';'){
buffer.push_back(c);