vsergeev / lua-periphery

A Lua library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
MIT License
182 stars 38 forks source link

Serial data type #8

Closed rokf closed 8 years ago

rokf commented 8 years ago

If I wanted to receive the data in float format instead of string, I'd have to manually convert the bits or change the source and compile it myself right? Or is there a way

rokf commented 8 years ago

Realized I can cast the data to floats with the help of luajit