Skip to content

Commit ee702e8

Browse files
committed
Merge pull request adafruit#13 from rogg/patch-1
Update Adafruit_CharLCD/Adafruit_CharLCD.py - Weird Characters
2 parents 7eaacb2 + fb6b7f5 commit ee702e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_CharLCD/Adafruit_CharLCD.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def write4bits(self, bits, char_mode=False):
229229

230230

231231
def delayMicroseconds(self, microseconds):
232-
seconds = microseconds / 1000000 # divide microseconds by 1 million for seconds
232+
seconds = microseconds / float(1000000) # divide microseconds by 1 million for seconds
233233
sleep(seconds)
234234

235235

0 commit comments

Comments
 (0)