~gabe/flashlight-firmware/anduril2

« back to all changes in this revision

Viewing changes to bin/flash.sh

  • Committer: Selene Scriven
  • Date: 2014-07-23 02:26:31 UTC
  • Revision ID: ubuntu@toykeeper.net-20140723022631-mjl3ukeb9za20lob
Added PIC10F322 C code examples from tterev3.
(one for clicky/hard switches, one for momentary/electronic switches)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#/bin/sh
 
2
FIRMWARE=$1
 
3
avrdude -c usbasp -p t13 -u -Uflash:w:$FIRMWARE -Ulfuse:w:0x75:m -Uhfuse:w:0xFF:m