As I plan to make a custom breakout board I wanted to solder as few connections as possible. I was able to boot the device, with UART (out at least) soldering the following.
PIN | NAME |
---|---|
0 | GND |
1 | 3V3 |
2 | EN |
#!/usr/bin/python | |
from pruio import * | |
from time import sleep | |
# Create a ctypes *pointer* to the pruio structure | |
io = pruio_new(PRUIO_DEF_ACTIVE, 0, 0, 0) | |
# Note the *pointer* dereferencing using the contents member | |
if not io.contents.Errr: | |
pruio_config(io, 1, 0, 0, 0) | |
for i in range(4): |