kevin eccli / Mbed 2 deprecated Freescale_CupV4

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Config.h Source File

Config.h

00001 #ifndef _PINOUT_H
00002 #define _PINOUT_H
00003 
00004 //PROPULSION
00005 #define MOTD1_PIN PTD1
00006 #define MOTD2_PIN PTD2
00007 #define MOTG1_PIN PTD3
00008 #define MOTG2_PIN PTD0
00009 #define FBD_PIN PTB10
00010 #define FBG_PIN PTB11
00011 #define MOT_PERIOD 0.0001f
00012 #define MOTD_CAPTEUR1_PIN PTA2
00013 #define MOTD_CAPTEUR2_PIN PTA2
00014 #define MOTG_CAPTEUR1_PIN PTA2
00015 #define MOTG_CAPTEUR2_PIN PTA2
00016 
00017 //DIRECTION
00018 #define DIR_PIN PTA1
00019 
00020 //XBEE
00021 #define XBEE_PIN_TX D1
00022 #define XBEE_PIN_RX D0
00023 #define XBEE_SPEED 9600
00024 
00025 //CAMERA
00026 #define P_SI PTA2
00027 #define P_AO PTB3
00028 #define P_CLK PTC2
00029 
00030 #endif