Initial commit

This commit is contained in:
Cabillot Julien committed 2018-11-26 00:49:19 +01:00
commit 368127e848
355 files changed
+67999

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import smbus
import time
# Remplacer 0 par 1 si nouveau Raspberry
bus = smbus.SMBus(1)
address = 0x12
for x in range(0, 100):
bus.write_byte(address, 1)
time.sleep(0.01)
bus.write_byte(address, 0)
time.sleep(0.01)