Skip to content

digitalio example fails on Huzzah #1016

@larryfast

Description

@larryfast

When following the digitalio example on https://circuitpython.readthedocs.io/en/latest/shared-bindings/digitalio/__init__.html I get the following error:

from board import *
import digitalio

pin = digitalio(D14)
Traceback (most recent call last):
File "", line 1, in
NameError: name 'D14' is not defined

I get the same error for any value of Dnn

Environment:
Clean install of CircuitPython 3.0.0 w. 3.0.0-beta Bundle
Target: Huzzah
Install Method: esptool.py & ampy

Note that this problem is also present in 2.3.1. I reinstalled to verify the issue on a clean install of the latest code.

Cheers,
Larry Fast

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions