Safe Haskell | None |
---|
- data RGB = RGB {}
- data Delay
- data Pos
- getVersion :: Blink1 b => b -> IO (Char, Char)
- set :: Blink1 b => b -> RGB -> IO ()
- fade :: Blink1 b => b -> Delay -> RGB -> IO ()
- serverDown :: Blink1 b => b -> Bool -> Delay -> IO ()
- play :: Blink1 b => b -> Maybe Pos -> IO ()
- setPattern :: Blink1 b => b -> Pos -> Delay -> RGB -> IO ()
- getPattern :: Blink1 b => b -> Pos -> IO (Delay, RGB)
- getSerialNum :: Blink1 b => b -> IO Word32
- setSerialNum :: Blink1 b => b -> Word32 -> IO ()
Documentation
time is counted in centiseconds
getVersion :: Blink1 b => b -> IO (Char, Char)Source
serverDown :: Blink1 b => b -> Bool -> Delay -> IO ()Source
enable/disable serverdown mode
play :: Blink1 b => b -> Maybe Pos -> IO ()Source
stop or start playing the sequence at the given position
setPattern :: Blink1 b => b -> Pos -> Delay -> RGB -> IO ()Source
set the sequence pattern for the given position
getSerialNum :: Blink1 b => b -> IO Word32Source
setSerialNum :: Blink1 b => b -> Word32 -> IO ()Source