diff options
author | Jenna Fox <a@creativepony.com> | 2012-09-30 14:22:04 +1000 |
---|---|---|
committer | Jenna Fox <a@creativepony.com> | 2012-09-30 14:22:04 +1000 |
commit | 4ab39b1d0cdcbac838d2d15acd532493a33a3764 (patch) | |
tree | 972c70655fd58638eb487048981e6e3b4154b3e7 /ruby/dump.rb | |
parent | d919861396dd343bcc7132b6358b3a286228cc89 (diff) | |
download | micronucleus-4ab39b1d0cdcbac838d2d15acd532493a33a3764.tar.gz micronucleus-4ab39b1d0cdcbac838d2d15acd532493a33a3764.tar.bz2 micronucleus-4ab39b1d0cdcbac838d2d15acd532493a33a3764.zip |
cleaning up directory structures
Diffstat (limited to 'ruby/dump.rb')
-rw-r--r-- | ruby/dump.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ruby/dump.rb b/ruby/dump.rb new file mode 100644 index 0000000..471d6d4 --- /dev/null +++ b/ruby/dump.rb @@ -0,0 +1,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(' ') |