]> git.zerfleddert.de Git - fnordlicht-mini/blame_incremental - firmware/tests/config_startup_program_replay.rb
fix config.mk file header comment
[fnordlicht-mini] / firmware / tests / config_startup_program_replay.rb
... / ...
CommitLineData
1#!/usr/bin/env ruby
2
3$:.unshift(File.dirname(__FILE__)+"/lib")
4
5require 'fnordlicht'
6require 'serialport'
7
8include Fnordlicht
9
10$dev = SerialPort.new("/dev/ttyUSB0", 19200)
11
12puts "sending sync sequence"
13sync()
14
15puts "configure startup: program replay 3-5 (repeat reverse)"
16config_startup_program(255, 2, [3, 5, 2])
Impressum, Datenschutz