import numpy
import pylab
for datastr in fileinput.input():
- data=numpy.array(list(datastr))
+ data=numpy.array(map(int,datastr))
pylab.plot(range(len(datastr)),data)
pylab.hold(True)
pylab.axis([0, len(datastr),-0.5, 3.5])
# Program the device.
program: $(TARGET).hex $(TARGET).eep
../pc/reset || true
- ~/teensy_loader_cli/teensy_loader_cli -mmcu=atmega32u4 -w $(TARGET).hex
+ ~/realraum/teensy/teensy_loader_cli/teensy_loader_cli -mmcu=atmega32u4 -w $(TARGET).hex
# Generate avr-gdb config/init file which does the following: