summaryrefslogtreecommitdiffstats
path: root/ruby/dump.rb
blob: 471d6d47a8d2e1909f178797f73bc55932c00f1d (plain)
1
2
3
`rm temp-dump.bin`
`avrdude -c usbtiny -p t85 -U flash:r:temp-dump.bin:r`
puts open('temp-dump.bin').read(30).bytes.to_a.map { |x| x.to_s(16) }.join(' ')