i2ctest: Added a mega1280 version
[simavr] / examples / board_i2ctest_atmega1280 / README
1
2 This contains a sample program to demonstrate the use of simavr
3 using 'custom' code, and own "peripherals". It shows how it is
4 possible to "hook" code to the AVR pins, and also how to make
5 "peripherals" and also hook them up to AVR pins.
6
7 This demo demonstrate how to write a i2c/twi "peripheral" and hook it to
8 an AVR, and then run a firmware that behaves as a TWI "master" to talk to it.
9
10 The code uses a generic i2c "eeprom" were the AVR writes some bytes,
11 then read them again. The AVR code is based on the Atmel reference
12 implementation, with quite a few changes to make it more functional.
13
14 Thid "board" doesn't use opengl, the eeprom will display what the
15 transactions are.