18.01.2013 Views

Atmel AVR944: Atmel LED Driver Library for 8 ... - Atmel Corporation

Atmel AVR944: Atmel LED Driver Library for 8 ... - Atmel Corporation

Atmel AVR944: Atmel LED Driver Library for 8 ... - Atmel Corporation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

8 Demo program<br />

8.1 Hardware requirements<br />

10 <strong>Atmel</strong> <strong>AVR944</strong><br />

The file “atmel_led_drvr_demo.c” contains the source <strong>for</strong> a demo program <strong>for</strong> <strong>Atmel</strong><br />

ATtiny40 AVR with SPI interface to connect to <strong>Atmel</strong> MSL2160 Evaluation board. The<br />

program accesses a MSL2160 slave and writes ‘0xAA’ to its register at ‘0x00’ address<br />

and reads the register back. This operation is done in an infinite loop.<br />

The demo setup needs the following components:<br />

1. ATtiny40 AVR with any development kit (like the <strong>Atmel</strong> STK ® 600) which exposes<br />

the MCU pins.<br />

2. MSL2160 Evaluation board with <strong>LED</strong> load board and power supply.<br />

3. 33Ω resistor.<br />

8464A-AVR-11/11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!