Skip to content

Instantly share code, notes, and snippets.

View BobBurns's full-sized avatar

Bob Burns BobBurns

  • Santa Cruz, CA
View GitHub Profile
@BobBurns
BobBurns / showBits.asm
Created November 14, 2014 05:28
another assembly version of Elliot Williams AVR Programming. Chapter 4
;showingOffBits assembly version
;
;compile with gavrasm showBits.asm
;flash with avrdude -c avrisp -p m168 -P /dev/tty.XXXXXXX -b 19200 -U flash:w:showBits.hex
;--- set up ---
.device atmega168
.cseg
.org 0
.def delayH =r25
.def delayL =r24
@BobBurns
BobBurns / cylonEyes.asm
Created November 13, 2014 01:08
assembly version of cylon eyes from Elliot Williams AVR Programming
;assembly version of Cylon Eyes p.60
;compile with gavrasm cylonEyes.asm
;
;--- set up ---
.device atmega168
.cseg
.org 0
.def delayH =r25
.def delayL =r24
.def led =r16