I am currently trying to get micropython running on my toniebox which is based on the cc3200 with a custom pcb. I2C seems to run flawlessly.
But setting up the sd doesn't work.
Code: Select all
sd = machine.SD(pins=('GP10', 'GP11', 'GP9'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 5] EIO
I also have problems with some documented functions not working as they should:
https://docs.micropython.org/en/latest/ ... s-and-gpio
Code: Select all
>>> from machine import Pin
>>> power_pin = Pin('GP6', mode=Pin.OUT)
>>> power_pin.toggle()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: no such attribute