Skip to content

serega404/LuaShiftOut

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Port of the Arduino shiftOut function.

Resources

License

Stars

Watchers

Forks

Languages