Commit 98fd52f7234dc86c27b95beb259c7c496aa7f9d7
authorMichel Pollet <buserror@gmail.com>
Tue, 15 Mar 2011 13:41:59 +0000 (13:41 +0000)
committerMichel Pollet <buserror@gmail.com>
Tue, 15 Mar 2011 13:41:59 +0000 (13:41 +0000)
tree42396170da720e943a067212d465e55b7da260f6
parentf5cb51ee9eec403ec656899f02ee2a09fd4b9378
Message:
example: Added i2ctest

This example need some polish. It simulates an AVR with an
i2c eeprom of 1024 bytes. The eeprom is "generic" an will go to the
parts/ directory when this is fully working.
Right now write the eeprom works, but there is a stray byte somewhere;
the bug /could/ be in the atmel code tho, wich I had to fix and tweak.

Signed-off-by: Michel Pollet <buserror@gmail.com>
7 files changed:
examples/board_i2ctest/Makefile
examples/board_i2ctest/atmega48_i2ctest.c [new file with mode: 0644]
examples/board_i2ctest/avr_twi_master.c [new file with mode: 0644]
examples/board_i2ctest/avr_twi_master.h [new file with mode: 0644]
examples/board_i2ctest/i2ctest.c [new file with mode: 0644]
examples/board_i2ctest/twi_master.c [deleted file]
examples/board_i2ctest/twi_master.h [deleted file]