Writing a MIDI application on a Rasbperry Pi PICO

I seem to have written 500 lines of Python which is now running inside a Raspberry Pi PICO. I’ve no real idea how much space this occupies on the device, all I can say is that it works really well. I’m using the Thonny IDE which has a setting for Circuit Python and works a treat.

I’m building a MIDI keyboard device (that’s what the box here is for). One of the great things about this is that the when you use the Adafruit adafruit_bus_device and adafruit_midi libraries from here you have a MIDI device that works with MIDI applications on your PC (I’m using Pure Data), but you also retain the serial port connection from the PC to the device. So you can write Python to send MIDI messages at the same time as use the console for talking to your program. Very useful and rather fun. And I’m loving writing Python again.