[Haskell-beginners] Converting bytes to numbers

Emacs The Viking sean at objitsu.com
Tue Mar 6 17:20:06 CET 2012


  

OK, I have a situation....I have a little PIC microchip sending out
24 bit ADC values over TCP/IP... I want to know what is the nicest /
cleanest / best / efficient / geekiest etc way tyo convert the three
bytes it sends into an unsigned 24-bit number... 

main :: IO () 

main
= do 

 h 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120306/7d41412a/attachment.htm>


More information about the Beginners mailing list