jebz
 Regular Member
 Joined: 13/06/2011 Location: AustraliaPosts: 79 |
| Posted: 07:46am 29 Jun 2011 |
|
|
|
I think for a lot of the parallel applications a PFC8574 I2C expander would be good. A whole byte can be output at once. The addressing on I2C allows many PFC8574s to exist on the same bus for display, keyboard and other I/O. A DS1307 on the same I2C bus would allow maintenance of the time even with power breaks.
The stamp has a number I2C modules that can be plugged on with little difficulty. The syntax used seems quite clear and usable -
I2CIN 1, 80, [A]
I2COUT 1, 80, [C]
Variables A&C can even be strings like you'd send to a LCD display.
Don's got a heap of PFC8574s in stock.
interesting, can't use [B ] it's bold |