Eimantas Bernotavicius / Mbed 2 deprecated Buggy_Project

Dependencies:   QEI mbed

pins.cpp

Committer:
Weranest
Date:
2018-02-15
Revision:
0:62e51b80d738
Child:
1:12f18cede014

File content as of revision 0:62e51b80d738:

//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
//=======================