]>
git.zerfleddert.de Git - fnordlicht-mini/blob - firmware/tests/fade_hsv.rb
3 $
:.unshift(File
.dirname(__FILE__
)+"/lib")
10 $dev = SerialPort
.new("/dev/ttyUSB0", 19200)
12 puts
"sending sync sequence"
17 puts
"fade to hsv color"
18 fade_hsv(255, 0, 255, 255, 2, 1)
20 fade_hsv(255, 120, 255, 255, 2, 1)
22 fade_hsv(255, 180, 255, 255, 2, 1)
24 fade_hsv(255, 240, 255, 255, 2, 1)
27 fade_hsv(255, 200, 255, 150, 2, 1)
29 fade_hsv(255, 200, 255, 20, 2, 1)
31 fade_hsv(255, 200, 255, 100, 2, 1)
33 fade_hsv(255, 200, 30, 100, 2, 1)
35 fade_hsv(255, 200, 100, 100, 2, 1)