Whenever the following code is run on the Circuit Playground Express it produces an error.
I have not found any references to conflicts with pin PA11. Any suggestions as to the cause of the error would be appreciated.
Here is the error...
**********-
code.py output:
Traceback (most recent call last):
File "code.py", line 6, in <module>
ValueError: Pin PA11 in use
**********
Here is the code (the first six lines)...
**********
import time
from adafruit_circuitplayground.express import cpx
import board
from analogio import AnalogIn
analogin = AnalogIn(board.LIGHT)
**********
light sensor analogIn error
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
Please be positive and constructive with your questions and comments.