Port of the Arduino shiftOut function.
sudo apt install luarocks lua-bitop
sudo luarocks install lua-periphery
require("shiftOut")
register = shiftOut:new(LatchPin, DataPin, ClockPin)
register:shiftOut("11000000") -- string value
register:shiftOut(192) -- decimal digit value
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Feel free to contribute to this project.
Distributed under the MIT License. See LICENSE
for more information.