D:/DRISSI/arduino-0022/arduino-0022/libraries/pcf8574/pcf8574.h
Go to the documentation of this file.
00001 
00007 #ifndef pcf8574_h
00008 
00009 #define pcf8574_h
00010 
00011 #include <WProgram.h>
00012 #include <Wire.h>
00013 
00016 #define expander B00100111 
00017 #define ON  1
00018 #define OFF 0    
00019 
00029 void expanderWrite(unsigned char _data ) ; 
00030 
00033 byte expanderRead() ;  
00034 
00037 char Button1();
00038 
00041 char Button2();
00042 
00045 char Button3();
00046 
00049 char Button4();
00050 
00054 char Led1(char state );
00055 
00059 char Led2(char state);
00060 
00064 char Led3(char state);
00065 
00069 char Led4(char state);
00070 
00073 void ISR_Interrupt();
00074 
00075 #endif