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: m3pi.h
- Revision:
- 3:5015bc2d1cf8
- Parent:
- 2:26bf14f4dc84
- Child:
- 4:0abe81f5d9fd
--- a/m3pi.h Fri Apr 07 18:22:35 2017 +0000
+++ b/m3pi.h Thu May 25 10:18:43 2017 +0000
@@ -22,10 +22,6 @@
*/
~m3pi();
- /** Write value to LEDs
- * @param val - value to display in binary on LEDs (0 to 255)
- */
- void write_leds(int val);
/** Initialisation function
* @details Should be called at the start of the program to interrupt demo
@@ -140,11 +136,6 @@
*/
void spin_left(float speed);
- /** Read button on m3pi expansion shield (p21)
- * @returns int - active-low - 0 for pressed/ 1 for not pressed
- */
- int read_button();
-
/** Display battery voltage on LCD
* @param x - x position on LCD to display
* @param y - line on LCD to display
@@ -180,8 +171,6 @@
Serial* _serial;
DigitalOut* _reset;
- DigitalIn* _button;
- BusOut* _leds;
float _last_line_position;