Fix uart receiving code

This commit is contained in:
Kwabena W. Agyeman 2017-03-21 20:28:20 -04:00
parent c4d17fb6dd
commit aa5047cc7b

View File

@ -93,10 +93,10 @@ def write(data):
uart.write(data)
def available():
return 0 # Not implemented as there is no way for the us to be ready to receive the data.
return uart.any()
def read_byte():
return 0 # Not implemented as there is no way for the us to be ready to receive the data.
return uart.readchar()
# Helper Stuff