plugdata
plugdata copied to clipboard
[FR] Setting pin configurations with objects
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.