kevin eccli
/
Freescale_CupV4
Adaptation K22F
Diff: Config.h
- Revision:
- 0:6004a7230f87
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Config.h Tue Dec 16 15:52:17 2014 +0000 @@ -0,0 +1,30 @@ +#ifndef _PINOUT_H +#define _PINOUT_H + +//PROPULSION +#define MOTD1_PIN PTD1 +#define MOTD2_PIN PTD2 +#define MOTG1_PIN PTD3 +#define MOTG2_PIN PTD0 +#define FBD_PIN PTB10 +#define FBG_PIN PTB11 +#define MOT_PERIOD 0.0001f +#define MOTD_CAPTEUR1_PIN PTA2 +#define MOTD_CAPTEUR2_PIN PTA2 +#define MOTG_CAPTEUR1_PIN PTA2 +#define MOTG_CAPTEUR2_PIN PTA2 + +//DIRECTION +#define DIR_PIN PTA1 + +//XBEE +#define XBEE_PIN_TX D1 +#define XBEE_PIN_RX D0 +#define XBEE_SPEED 9600 + +//CAMERA +#define P_SI PTA2 +#define P_AO PTB3 +#define P_CLK PTC2 + +#endif \ No newline at end of file