Sale!

Raspberry Pi GPIO Expander Relay Drive Shield

$ 5.40

I bought 5 of them. The construction is good but there are some issues: in 3 out of 5 the leds don’t work, fortunately the relays work the serigraphy on the PCB board is wrong, the connector for the other 4 lines without the relais and the GND, 5V are exchanged, be careful if you are using these connectors finally the demo code doesn’t work properly, it activates only 3 out of the 4 realis, I wrote this simple test program: #! /usr/bin/python import smbus import sys import getopt import time #bus = smbus.SMBus(0) #Rev 1 board bus = smbus.SMBus(1) # New Rev 2 board address = 0x20 # I2C address of MCP23008 bus.write_byte_data(address,0x00,0x00) # Set all to outputs # Handle the command line arguments delay = 1 try: while True: bus.write_byte_data(address,0x09,16) # time.sleep(delay) # 1 second delay bus.write_byte_data(address,0x09,32) # time.sleep(delay) bus.write_byte_data(address, 0x09, 64) time.sleep(delay) bus.write_byte_data(address, 0x09, 128) time.sleep(delay) bus.write_byte_data(address, 0x09, 0) except KeyboardInterrupt:
Share:
SPY77 dentoto juara100 toto https://internship.infoskaters.com/ slot toto situs toto https://bto-ao.co.jp/scaleremover/ situs toto situs toto gendut188 situs toto ARENA303

bwo99 djarum88 situs slot slot 1000 parlay bola idn poker situs online situs toto situs toto situs toto situs toto bwo99 situs slot bwo99 WDBOS toto slot situs toto situs toto toto mix parlay toto toto BWO99 situs bola agb99 situs toto situs toto slot 4d toto slot situs toto situs toto bwo99 situs toto poker agb99 toto slot toto slot toto situs toto toto togel toto slot titi4d toto agb99 slot 1000 leon188 slot gacor agb99 toto slot situs toto situs toto situs toto situs toto toto slot ilmutoto toto slot toto slot toto slot Pakde4D situs slot pakde4d slot gacor toto tikus4d permata888 mataramtoto Amanahtoto petir188 war138 slot gacor