Janus Bo Andersen / Mbed 2 deprecated m3pi_LineFollower

Dependencies:   mbed m3pi t2_m3pi

Fork of m3pi_LineFollower_PID by Chris Styles

Revision:
13:cfa1c36a58bc
diff -r 1f0de0169671 -r cfa1c36a58bc trial.txt
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/trial.txt	Fri Nov 30 00:50:52 2018 +0000
@@ -0,0 +1,80 @@
+//instantiate an m3pi object
+//m3pi m3pi;
+
+
+//Mimic mbed functions
+/*void wait(float seconds) {
+  //do nothing
+}
+*/
+
+/*
+enum pinNums {
+  p13, p14, p15, p16, p17, p18, p19, p20, p21, LED1, LED2, LED3, LED4
+};
+*/
+
+/*
+class DigitalOut {
+public:
+  DigitalOut(pinNums pin) {
+  }
+
+  void operator=(int val) {
+    value = val;
+  }
+
+  operator int() {
+    return value;
+  }
+
+private:
+  int value;
+};
+
+class Timer {
+public:
+  Timer(void) {
+  }
+  void start(void) {
+  }
+  void stop(void) {
+  }
+};
+*/
+
+//delete this class when it is possible to inherit from the real m3pi class
+//this is only a dummy interface while programming in eclipse
+/*
+class m3pi {
+public:
+
+  //constructor
+  m3pi() {
+    std::cout << "m3pi" << std::endl;
+  }
+
+  //get battery voltage
+  float battery(void) {
+    return 4.6;
+  }
+
+  //clear the display
+  void cls() {
+    std::cout << "Cleared display" << std::endl;
+  }
+
+  //locate the cursor on the display
+  void locate(unsigned int column, unsigned int row) {
+  }
+
+  void printf(std::string text) {
+    std::cout << text << std::endl;
+  }
+
+  void sensor_auto_calibrate(void) {
+
+  }
+
+};
+*/
\ No newline at end of file