--- a/CircuitPython/busio.py Wed Aug 28 19:53:19 2019 +0200 +++ b/CircuitPython/busio.py Thu Aug 29 19:05:05 2019 +0200 @@ -46,6 +46,8 @@ pass class SPI(): + frequency = 0 + def __init__(self, clock, MOSI=None, MISO=None): pass @@ -71,12 +73,11 @@ def write_readinto(self, buffer_out, buffer_in, *, out_start=0, out_end=None, in_start=0, in_end=None): pass - - @property - def frequency(self): - pass class UART(): + baudrate = 0 + in_waiting = 0 + def __init__(self, x, rx, *, baudrate=9600, bits=8, parity=None, stop=1, timeout=1, receiver_buffer_size=64): pass @@ -96,13 +97,5 @@ def write(self, buf): pass - @property - def baudrate(self): - pass - - @property - def in_waiting(self): - pass - def reset_input_buffer(self): pass