We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When trying to run example (using Mu editor), I have got this error: AttributeError: 'module' object has no attribute 'SCL'
The text was updated successfully, but these errors were encountered:
I have solved this by using "GP" names:
# busio.SPI(clock: microcontroller.Pin, MOSI: microcontroller.Pin | None = None, MISO: microcontroller.Pin | None = None, half_duplex: bool = False) spi = busio.SPI(clock=board.GP6, MOSI=board.GP7) dc = digitalio.DigitalInOut(board.GP5) # data/command cs = digitalio.DigitalInOut(board.GP4) # Chip select reset = digitalio.DigitalInOut(board.GP9) # reset ... backlight = digitalio.DigitalInOut(board.GP10) # backlight
Sorry, something went wrong.
No branches or pull requests
When trying to run example (using Mu editor), I have got this error:
AttributeError: 'module' object has no attribute 'SCL'
The text was updated successfully, but these errors were encountered: