first pass at bringing AVR demo up to speed
AVR example working again