Skip to content

Instantly share code, notes, and snippets.

View Stateford's full-sized avatar

Dimitri Stateford

  • Bittware
  • New Hampshire
View GitHub Profile
@lukecameron
lukecameron / toggle.asm
Created May 9, 2012 12:47
an AVR assembly program to toggle PORTC when INT0 or INT1 is triggered by falling edge
/*
* toggle.asm
*
* Created: 9/05/2012 9:07:24 PM
* Author: Luke Cameron (lukecameron)
*
* Toggle the led's when pb0 is pressed.
* wire pb0 to pd0, leds to portc
* some code copied from example 3.1
*/