Eimantas Bernotavicius / Mbed 2 deprecated Buggy_Project

Dependencies:   QEI mbed

Revision:
0:62e51b80d738
Child:
1:12f18cede014
diff -r 000000000000 -r 62e51b80d738 pins.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pins.cpp	Thu Feb 15 13:19:37 2018 +0000
@@ -0,0 +1,23 @@
+//This file is strictly to define pins for buggy operations. Thats it. But thought it would be easier to overseer them like this
+
+//Encoder pins (created as a QEI object, so just defined naming for pins)
+//=======================
+#define channelARight PA_1
+#define channelBRight 
+#define channelIRight 
+#define channelALeft 
+#define channelBLeft 
+#define channelILeft 
+//Motor control pins
+//=======================
+PwmOut motorRight(PB_6);
+PwmOut motorLeft(PB_7);
+DigitalOut motorDirRight(PB_4);
+DigitalOut motorDirLeft(PB_5);
+DigitalOut motorModeRight(PB_2);
+DigitalOut motorModeLeft(PB_3);
+DigitalOut driveBoard(PB_1);
+//Line sensor pins
+//=======================
+//Magnet sensor pins
+//=======================