nathanberwick / expressionPedal

expression pedal map
0 stars 0 forks source link

analogue write #2

Open nathanberwick opened 3 years ago

nathanberwick commented 3 years ago

analogue write is an 8 bit value. need to convert what I current have as a "between 0v and 5v" to 0-255.

The hardware should handle converting this into a fixed voltage? is that possible?

nathanberwick commented 3 years ago

my guess was to implement this in hardware with an LPF. This article seems to agree.

https://www.instructables.com/Analog-Output-Convert-PWM-to-Voltage/