piface / libpifacecad

A simple C library for accessing PiFace Control and Display.
GNU General Public License v3.0
10 stars 8 forks source link

add 2.6 ms delay to piface_lcd_clear() and piface_lcd_home() #3

Closed JohnWulff closed 10 years ago

JohnWulff commented 10 years ago

change SEQOP_ON to SEQOP_OFF in piface_open_noinit()

These values set bit 5 of the IOCON register in the MCP23S17 I/O Expander. Setting this bit to 0 (SEQOP_ON) enables address pointer increments in the MCP23S17. I do not think this is ever used (especially with BANK_OFF). Every command to the MCP23S17 sets a new address. The auto-incrementing of text byte transfers in the HD44780U is handled somewhere else.