Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 915 Bytes

README.md

File metadata and controls

36 lines (22 loc) · 915 Bytes

LuaShiftOut

MIT License

Port of the Arduino shiftOut function.

Installation (for rasbian and debian-based)

sudo apt install luarocks lua-bitop
sudo luarocks install lua-periphery

Usage

require("shiftOut")

register = shiftOut:new(LatchPin, DataPin, ClockPin)

register:shiftOut("11000000") -- string value
register:shiftOut(192) -- decimal digit value

Modules

Contributing

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.

License

Distributed under the MIT License. See LICENSE for more information.