huckleberry-0.10.0.2: Haskell IOT on Intel Edison and other Linux computers.

Safe HaskellSafe
LanguageHaskell2010

System.PIO

Synopsis

Documentation

binToNum :: (Eq a, Num a) => String -> a Source #

an unsigned number in binary notation.

octToNum :: (Eq a, Num a) => String -> a Source #

an unsigned number in octal notation.

hexToNum :: (Eq a, Num a) => String -> a Source #

an unsigned number in hexadecimal notation. Both upper or lower case letters are allowed.