Code to program an AVR microcontroller over SPI using the mBed's first SPI port. The AVR must support ICSP. Alter max page size from 64 to the matching page size for your microcontroller. Alter the clock to the minimum clock speed for your microcontroller. Has only been tested with ATMega88.

Dependencies:   mbed

Auto generated API documentation and code listings for AVR_SPI_Programmer_v2

Code

main.cpp [code]