andy1024 / jiffy32

A java library intended for interfacing with FlyFish Technologies FF32 General Purpose Input Output USB dongle
GNU General Public License v3.0
0 stars 0 forks source link

Multiple bytes results conversion errors #20

Closed andy1024 closed 8 years ago

andy1024 commented 8 years ago

readAnalogInput, readBlockDigitalInputs and readWordI2C have conversion errors. Bitwise AND is used instead of bitwise OR (& vs |). Introduce utility function for conversion.