replaces CDU_Mbed_26

Dependencies:   4DGL MODSERIAL mbed mbos

Fork of CDU_Mbed_26 by Engravity-CDU

pins.h

Committer:
WillemBraat
Date:
2014-08-26
Revision:
15:d13786882692
Child:
16:3c251cf29501

File content as of revision 15:d13786882692:

//*********************************
//pins in main.cpp
//*********************************
//MODSERIAL SERIAL_DEBUG(p9, p10, 512, 64);  //: tx, rx
#define MODSERIAL_TX        p9
#define MODESERIAL_RX       p10
//DigitalOut alive_led(LED1); // : LED 1 on Mbed board toggles when CDU is alive
#define HEARTBEAT           LED1

//*********************************
//pins in display.cpp
//*********************************
//DigitalOut VGA_SOURCE( p7 ); //control line for video switch between INT and EXT video
//DigitalOut VGA_SELECT( p8 ); //control line to select/deselect video switch
#define VGA_SOURCE_SELECT   p7
#define VGA_ON_OFF          p8  //note that 0=ON and 1=OFF

//Control lines for VGA driver board
//TFT_4DGL display(p13,p14,p15); // serial tx, serial rx, reset pin
#define VGA_TX              p13
#define VGA_RX              p14
#define VGA_RESET           p15

//*********************************
//pins in keyboard2.cpp
//*********************************
//CDU Keyboard LEDS
#define LED_EXEC            p12
#define LED_FAIL            p17
#define LED_DSPY            p18
#define LED_MSG             p19
#define LED_OFST            p20

//CDU background lighting
//AnalogIn BGL_POT( p16 ); //background light control potmeter
//PwmOut BGL_LED( p21 );   //PWM output background lighting
#define BACKLIGHT_IN        p16
#define BACKLIGHT_DRIVE     p21

//DigitalOut Key_led(LED2); // : LED 2 on Mbed board toggles when CDU key is pressed
#define KEY_PRESSED         LED2