Search found 1 match
Search found 1 match • Page 1 of 1
- Monday 27 February 2017 21:43
- Forum: Bash / PowerShell / Batch etc.
- Topic: Script to activate relays via MCP23008 chip (UniPi)
- Replies: 0
- Views: 978
I made a script to activate relays via MCP23008 chip. This chip is inter alia integrated into UniPi and functioning properly. Script filename: i2csetrelay Use it as follows: script: // i2csetrelay A BB C D A = bus BB = module address C = Relay D = 1 (on) or 0 (off) Example relay 1 on script: // i2cs...