13.07.2015 Views

TRABAJO DE GRADUACIÓN - DSpace Universidad Don Bosco

TRABAJO DE GRADUACIÓN - DSpace Universidad Don Bosco

TRABAJO DE GRADUACIÓN - DSpace Universidad Don Bosco

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

}break;default:break;//==============================================================================}}}DIVER PARA EL MANEJO <strong>DE</strong> PANTALLAS LCD 16X2. (flex_lcdmio.c)//Driver para manejar pantallas LCD 16x2//Descargado de http://www.ccsinfo.com/forum/viewtopic.php?t=24661&highlight=flexlcd//Modificado para su funcionamiento en el sistema RFID reader card//Modificado por Luis Mario Mercado// flex_lcd.c// These pins are for the Microchip PicDem2-Plus board,// which is what I used to test the driver. Change these// pins to fit your own board.#define LCD_DB4 PIN_A0#define LCD_DB5 PIN_A1#define LCD_DB6 PIN_A2#define LCD_DB7 PIN_A3#define LCD_E#define LCD_RS#define LCD_RWPIN_E0PIN_E1PIN_E2// If you only want a 6-pin interface to your LCD, then// connect the R/W pin on the LCD to ground, and comment// out the following line.#define USE_LCD_RW 1//========================================#define lcd_type 2 // 0=5x7, 1=5x10, 2=2 lines#define lcd_line_two 0x40 // LCD RAM address for the 2nd lineint8 const LCD_INIT_STRING[4] ={0x20 | (lcd_type

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!