Skip to content

Can not specify external display #11

@caternuson

Description

@caternuson

It looks like the idea was to be able to pass in a display object to override the default of using board.DISPLAY. However, for boards with no built in display, currently can not even import the library:

Adafruit CircuitPython 5.0.0-alpha.4 on 2019-09-15; Adafruit Circuit Playground Bluefruit with nRF52840
>>> from adafruit_turtle import turtle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/travis/build/adafruit/Adafruit_CircuitPython_Bundle/libraries/helpers/turtle/adafruit_turtle.py", line 136, in <module>
  File "/home/travis/build/adafruit/Adafruit_CircuitPython_Bundle/libraries/helpers/turtle/adafruit_turtle.py", line 139, in turtle
AttributeError: 'module' object has no attribute 'DISPLAY'
>>> 

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