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

System.PIO

Synopsis

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.