Usage for hash tag: Send

  1. attiland

    SHT20 Temperature Humidity With Reef-PI

    ...else: print ("Successfully created the directory %s " % path) #Get I2C bus bus = smbus.SMBus(1) #SHT20 address,0x40(64) addr =0x40 #Send Temperature measurement command # 0xF3(243) NO HOLD master bus.write_byte(addr,0xF3) time.sleep(0.5) #Read data back, 2byte #Temp MSB, Temp LSB...
Back
Top