Skip to content

Failure running examples on Inkplate6 (from crowdfunding) #47

@valholl

Description

@valholl

I have an Inkplate 6 board from the original crowdfunding, and I've just tried to install micropython on it using the instructions in the README (with thonny and mpremote)

micropython on the board is indeed running, but trying to run any of the examples in Examples/Inkplate6 results in the following error:

$ mpremote run helloWorld.py
Traceback (most recent call last):
  File "<stdin>", line 9, in <module>
  File "/lib/inkplate6.py", line 430, in begin
  File "/lib/inkplate6.py", line 84, in init
  File "/lib/PCAL6416A.py", line 84, in __init__
  File "/lib/PCAL6416A.py", line 110, in read
OSError: [Errno 19] ENODEV

I remember that in Arduino there were two different boards, “Soldered Inkplate6” and “e-radionica.com Inkplate6”, the latter for the model I have: could this be related to a difference between those two?

I've also tried the following in the REPL, to see whether I could still start doing something without the display, and had the following failures, but I don't know whether this is related to the lack of a inkplate.begin() and thus would be fixed by fixing the main issue:

>>> from inkplate6 import Inkplate
>>> inkplate = Inkplate(Inkplate.INKPLATE_1BIT)
>>> inkplate.readBattery()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lib/inkplate6.py", line 555, in readBattery
  File "/lib/inkplate6.py", line 159, in read_battery
AttributeError: type object '_Inkplate' has no attribute 'VBAT_EN'
>>> inkplate.readTemperature()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/lib/inkplate6.py", line 558, in readTemperature
  File "/lib/inkplate6.py", line 171, in read_temperature
AttributeError: type object '_Inkplate' has no attribute 'TPS_WAKEUP'

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions