I'm working on a Pd-based Bela Mini thing, with buttons and knobs connected to the analog/digital pins on the Bela. I'm wondering whether there is a way for the initial state of switches to be applied to the Pd patch on startup - like, if a switch is "on" when the Bela turns on, can the digital pin read that and send it to Pd?
Currently I am finding that I need to flip a switch once before the state is read in the patch. Does that make sense?