Open nathanberwick opened 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?
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/
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?