Skip to content
New issue

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

error running factory_test.py using featherS2 board #4

Open
Bengreen opened this issue Mar 4, 2022 · 1 comment
Open

error running factory_test.py using featherS2 board #4

Bengreen opened this issue Mar 4, 2022 · 1 comment

Comments

@Bengreen
Copy link

Bengreen commented Mar 4, 2022

I have updated to most recent version of CircuitPython (7.2)

I have updated to the recent updates of all the dependant libraries.
I also installed adafruit_register as this seems to be a dependency of tsc2004

When I run the code it gives the following errors.

Auto-reload is on. Simply save files over USB to run them or enter REPL to disable.
code.py output:
Display: Pass? (you tell me)
I2C: Fail, SDA in use
Touch the screen
Touch: Fail, name 'i2c' is not defined
SD-Card: Fail, no SD card
Neopixel: Pass
Qwiic: Fail (might be fine), name 'i2c' is not defined
ALS: 714
Keyboard: Fail name 'i2c' is not defined
Some fails!

I tried around on the REPL to see what progress I could get by reducing down the tasks to the simplest task to try it out.

Adafruit CircuitPython 7.2.0 on 2022-02-24; FeatherS2 with ESP32S2
>>> import board
>>> i2c = board.I2C()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: SDA in use

Any ideas on how to progress?

@arturo182
Copy link

arturo182 commented Mar 5, 2022

Hmm, the second piece of code seems to suggest this is a more generic FeatherS2-related problem rather than anything with the test code. I have seen people use the KFW with a FeatherS2 and CircuitPython so it might be something with this specific CPY release. I don't have a FeatherS2 to test on, unfortunately, but you could try asking on the Unexpected Maker discord: https://discord.gg/qFaRB4G9db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants