plugdata icon indicating copy to clipboard operation
plugdata copied to clipboard

[FR] Setting pin configurations with objects

Open JoshuaACNewman opened this issue 1 year ago • 0 comments

For microcontrollers, currently pins are preset as whether they are input, input pull-up/down, output, analog, or digital.

The ability to change pins' configuration within a patch would not only mean that a patch can optimize a microcontroller's I/O for its purpose, but additionally that pins can can dynamically change their function.

I imagine this as a [hv.pin] object that can take a symbol argument that sets it to a particular pin and whether it is input or output.

JoshuaACNewman avatar Mar 10 '23 16:03 JoshuaACNewman