Wednesday, March 20, 2013

PCF8574 GPIO expander library for AVR Atmega - v01

The PCF8574 is a silicon CMOS circuit. It provides general purpose remote I/O expansion for most microcontroller families via the two-line bidirectional bus (I2C-bus).


PCF8574 lib is an AVR Atmega library for the PCF8574 i2c IO port expander. This library can run up to 8 PCF8574, it can read and write port status, and allows you to expand your Atmega ports.

Setup parameters can be found in file pcf8574.h

This library was developed on Eclipse, built with avr-gcc on Atmega8 @ 1MHz.


Code


Notes
  • read risk disclaimer
  • excuse my bad english

No comments:

Post a Comment