diff --git a/README.md b/README.md index 5412c8c..5c6a762 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ This is a Raspberry Pi Pico MicroPython project that takes an expression pedal i Midi channel, CC number, and maximum and minimum values are customisable. +The expression pedal is automatically calibrated. At startup, simply move your pedal from minimum to maximum. The values are determined accordingly, and CC messages will start being sent. + Ashley Strahle https://github.com/ashstrahle diff --git a/main.py b/main.py index fb4fb19..78e7ab7 100644 --- a/main.py +++ b/main.py @@ -1,3 +1,18 @@ +################################################################################ +# +# Pi-Pico-ExpressionPedal2Midi +# +# Connect an expression pedal to ADC0, and a midi out socket/cable to UART1. +# Set desired midi channel, change control, and maximum and minimum values +# +# Upon run/power on, move expresson pedal from maximum to minimum to calibrate +# your pedal. CC commands will immediately start sending once calibrated. +# +# Ashley Strahle +# https://github.com/ashstrahle +# +################################################################################ + import sys from machine import ADC, Pin, UART import ustruct