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.
Dependents: newlib PID Robot WarehouseBot1 ... more
Fork of m3pi_ng by
Diff: m3pi.cpp
- Revision:
- 5:09fb0636207b
- Parent:
- 4:54c673c71fc0
- Child:
- 6:62ee1486ecb9
diff -r 54c673c71fc0 -r 09fb0636207b m3pi.cpp
--- a/m3pi.cpp Sun Nov 07 09:57:11 2010 +0000
+++ b/m3pi.cpp Sun Nov 07 10:49:56 2010 +0000
@@ -141,6 +141,12 @@
return(volt);
}
+
+void m3pi::leds(int val) {
+ _leds = val;
+}
+
+
void m3pi::locate(int x, int y) {
_ser.putc(DO_LCD_GOTO_XY);
_ser.putc(x);
