My project is to make a Serpente R2 act like a keyboard to an iPad, so I can make a ridiculously cheap accessibility switch interface. (I figure the BOM on this will be about $30; the commercial ones are in the hundreds of dollars.) When I load up this code.py on the board running 6.3.0 and connect it to a Windows 10 PC, the red LED cuts on and all pins output the correct keypresses or strings when grounded.
When connected to an iPad (Pro 11", 3rd generation, iPadOS 14.6) the LED behaves appropriately but does not output any keypresses. It behaves the same way when connected to an iPad mini 5th generation running iPadOS 15 Public Beta 2.
After reading about the changes coming in CircuitPython 7.0.0, I downloaded the alpha (4) on the board and started fiddling with the boot.py file to zap everything but the HID outputs. This boot.py file makes the USB drive disappear, but I now have a new problem: the board isn't running code.py successfully. The LED does not light up beyond a rare faint blue flicker, grounding the pins does not result in keyboard output. Updating to alpha 5 saw the same result. Commenting out the mass storage disable yields the same behavior aside from mounting CIRCUITPY again, which lets me see boot_out.txt behaving appropriately:
Code: Select all
Adafruit CircuitPython 7.0.0-alpha.5 on 2021-07-21; Serpente with samd21e18
boot.py output:
Holla if you hear me!