KS0108 LCD LIB with I2C I/O expander PCF8574 for Databus
BusEnums.h@0:f2f71eab6aef, 2012-04-21 (annotated)
- Committer:
- GuiTwo
- Date:
- Sat Apr 21 20:52:05 2012 +0000
- Revision:
- 0:f2f71eab6aef
- Child:
- 2:6a8fbb08d519
First version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GuiTwo | 0:f2f71eab6aef | 1 | /* BusEnums - Use the MBED Port pins and PCF8574s for controlling the Bus |
GuiTwo | 0:f2f71eab6aef | 2 | * Copyright (c) 2011 Wim Huiskamp |
GuiTwo | 0:f2f71eab6aef | 3 | * |
GuiTwo | 0:f2f71eab6aef | 4 | * Released under the MIT License: http://mbed.org/license/mit |
GuiTwo | 0:f2f71eab6aef | 5 | * |
GuiTwo | 0:f2f71eab6aef | 6 | * version 0.2 Initial Release |
GuiTwo | 0:f2f71eab6aef | 7 | */ |
GuiTwo | 0:f2f71eab6aef | 8 | #ifndef _BUS_ENUMS_H |
GuiTwo | 0:f2f71eab6aef | 9 | #define _BUS_ENUMS_H |
GuiTwo | 0:f2f71eab6aef | 10 | |
GuiTwo | 0:f2f71eab6aef | 11 | //Enums for Control Bus and Enable Bus |
GuiTwo | 0:f2f71eab6aef | 12 | enum Bit_Level { LOW, HIGH }; |
GuiTwo | 0:f2f71eab6aef | 13 | enum Bus_Dir { READ, WRITE }; |
GuiTwo | 0:f2f71eab6aef | 14 | enum Bus_Ena { ENABLE, DISABLE }; |
GuiTwo | 0:f2f71eab6aef | 15 | |
GuiTwo | 0:f2f71eab6aef | 16 | |
GuiTwo | 0:f2f71eab6aef | 17 | #endif |