Craig Evans / m3pi

Dependents:   3pi_Example_2 3pi_Lab1_Task2_Example1 3pi_Lab2_Task1_Example1 3pi_Line_Follow ... more

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;