fix some non-ASCII character

In the file "PCF8591.py"
This commit is contained in:
Suhaylzhao
2016-08-20 21:53:04 +08:00
parent a5883f0402
commit 8cc98729a1
+1 -1
View File
@@ -12,7 +12,7 @@ address = 0x48 #default address of PCF8591
bus=smbus.SMBus(1)
cmd=0x40 #command
def analogRead(chn):#read ADC valuechn:0,1,2,3
def analogRead(chn):#read ADC value,chn:0,1,2,3
value = bus.read_byte_data(address,cmd+chn)
return value