Definition in file spyglass.c.
#include "global.h"
#include "rprintf.h"
#include "timer.h"
#include "i2c.h"
#include "spyglass.h"
#include "lcd.h"
Go to the source code of this file.
Functions | |
| u08 | pcf8574Write (u08 nodeAddr, u08 data) |
| Write I/O Data to PCF8574 I2C<->Digital I/O chip. | |
| u08 | pcf8574Read (u08 nodeAddr) |
| Read I/O Data from PCF8574 I2C<->Digital I/O chip. | |
| void | spyglassInit (void) |
| initialize the I2C bus for communication with the spyglass UI. | |
| u08 | spyglassGetPushbuttons (void) |
| void | spyglassSetLeds (u08 leds) |
| void | spyglassSetBeeper (u08 state) |
| u08 | spyglassSetLcdContrast (u08 contrast) |
| void | spyglassLcdWrite (u08 rs, u08 data) |
| Write control or display data to LCD. | |
| void | spyglassLcdWriteChar (u08 c) |
| Write character to LCD. | |
| void | spyglassLcdInit (void) |
| Initialize LCD for operation. | |
| void | spyglassLcdHome (void) |
| Set write/cursor position to upper left. | |
| void | spyglassLcdClear (void) |
| Clear LCD display. | |
| void | spyglassLcdGotoXY (u08 x, u08 y) |
| Set write/cursor posision on LCD display (x=col, y=line). | |
Variables | |
| u08 | PcfCtrlData |
1.4.2