News How To Make Your Own Pedal Stream Controller with Raspberry Pi Pico

Feb 3, 2022
1
0
10
Firstly, thanks for this write up! It's given me a reason to buy some Pi Pico units and to get involved in CircuitPython finally.

Unfortunately it's not working for me, when I run the script through Thonny, the Shell is outputting the following, did I do something wrong?...

Code:
Traceback (most recent call last):
  File "<stdin>", line 12, in <module>
AttributeError: 'module' object has no attribute 'D2'

Thanks in advance!
 

biglesp

Commendable
Jun 11, 2020
6
1
1,515
Hello, apologies this is because I was using a KB2040 for the project and forgot to change the pin reference.
Use GP2 instead. The same applies for D3 (GP3) and D4 (GP4). I'll update the tutorial to show this.
Thanks