Switch

To add a switch to Axoloti Core, connect one terminal to a “VDD” pad, the other to a GPIO pad (labeled “PA0” etc, any will do).

In the the Axoloti patcher, create a “digitalRead” object, select the GPIO pad, and set the mode to “pulldown”. Yes, no external pulldown resistor is needed.

switch

Connecting the output of digitalRead to a “dispb” object will show the status of the switch in the Axoloti patcher after you engage the “live” mode.

 

%d bloggers like this: