Hi, to deal with my OLED screen I need to use a GPIO pin to deliver the RST signal to my screen at startup.
I read https://learn.bela.io/using-bela/technical-explainers/other-uses-of-gpio-pins/ on how to find an available pin.
When crossing the information on the diagrams with some github information I understood I could use both P8_13 or P8_14 for my need. I then tried to use config-pin to configure P8_13 as output, but I think it broke my config, as after running config-pin P8.13 out nothing works
Now when I try to run any program I get this error before even calling setup :
Copying new source files to the board...using rsync...
Building and running project...
Running /root/Bela/projects/src/src --mux-channels 4 --analog-channels 32
Failed to open PRU driver
Segmentation fault
When I look at the P8 table I think I might have typed the wrong pin number for config-pin as the P8_10 (related to pru) has the $PINS value set to 13.
Here are my questions :
- Which pin number am I supposed to use with config-pin to configure P8_13 ? P8.10 ? If that's the case IMHO the documentation about finding pins and configure them is not clear enough about this confusing step
- How could I fix my build ? I tried to reset P8.13 to default but it still wont work. I could reinstall my whole Bela firmware but it would take some time as I need to reconfigure UART, c++14 support and so on...
Thanks in advance, have fun folks 🙂