]>
git.zerfleddert.de Git - fnordlicht-mini/blob - firmware/tests/config_startup_program_random.rb
3 $
:.unshift(File
.dirname(__FILE__
)+"/lib")
10 $dev = SerialPort
.new("/dev/ttyUSB0", 19200)
12 puts
"sending sync sequence"
15 puts
"configure startup: program random (fast, no min_distance)"
16 config_startup_program(255, 1, [Time
.now
.usec
& 0xff, Time
.now
.usec
& 0xff, 1, 8, 1, 10, 0, 255, 255, 0])