Skip to content

Instantly share code, notes, and snippets.

@rafalw
Created September 3, 2012 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafalw/3609961 to your computer and use it in GitHub Desktop.
Save rafalw/3609961 to your computer and use it in GitHub Desktop.
ATtiny 2313 i migająca dioda
$regfile = "attiny2313.dat"
$crystal = 4000000
$hwstack = 40
$swstack = 16
$framesize = 32
Config Portb = &B11111111
Portb = &B00000000
Portb.6 = 1
Portb.0 = 0
Do
Toggle Portb.6
Toggle Portb.0
Waitms 200
Loop
End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment