button3

Reads Euxoloti's Button 3
Author: Paul
License: BSD
Github: euxo/1 0/button3.axo

Inlets

None

Outlets

bool32 Button 3

Init
palSetPadMode(GPIOC, 5, PAL_MODE_INPUT_PULLUP);
Control Rate
outlet_button3 = ((palReadPad(GPIOC, 5) << 27) > 0) ? 0 : 1;

Privacy

© 2024 Zrna Research