solderparty / keyboard_featherwing_sw

Creative Commons Zero v1.0 Universal
22 stars 3 forks source link

error running factory_test.py using featherS2 board #4

Open Bengreen opened 2 years ago

Bengreen commented 2 years ago

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 commented 2 years ago

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