Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Adafruit_GPIO.I2C as I2C
- import pathlib
- import time
- reset_pin = pathlib.Path('/sys/class/gpio/gpio49/direction')
- reset_pin.write_text('low')
- MotorBridge = I2C.Device(0x4b, 2)
- ReadMode = 0
- WriteMode = 1
- DeAddr = 0X4B
- ConfigValid = 0x3a6fb67c
- DelayTime = 0.005
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement