Changeset 7 for twiLCD

Show
Ignore:
Timestamp:
10/17/07 18:30:26 (15 months ago)
Author:
mlalondesvn
Message:

General:

MODIF - Moved all of the configurations out of the libraries and into the configs

Location:
twiLCD
Files:
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • twiLCD/twiLCD.cpp

    r3 r7  
    33} 
    44 
    5 #include "../global.h" 
    6 #include "../configs/LCD/lcd.h" 
    75#include "twiLCD.h" 
    86 
  • twiLCD/twiLCD.h

    r6 r7  
    44     
    55    #include "../configs/LCD/lcd.h" 
    6     #include "twiLCDConfig.h" 
    7      
    8     /** 
    9      * Address byte selection 
    10      * Select 0 for low and 1 for high 
    11     **/ 
     6    #include "../configs/twiLCD/twiLCD.h" 
     7     
     8#ifndef PCF8574_A0 
    129    #define PCF8574_A0          0 
     10#endif 
     11#ifndef PCF8574_A1 
    1312    #define PCF8574_A1          0 
     13#endif 
     14#ifndef PCF8574_A2 
    1415    #define PCF8574_A2          0 
    15  
     16#endif 
     17     
    1618    #define PCF8574_BASE_ADDR   B00100000 
    1719    #define PCF8574_WADDR       PCF8574_BASE_ADDR | (PCF8574_A0 * B00000001) | (PCF8574_A1 * B00000010) | (PCF8574_A2 * B00000100)