button1

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

Inlets

None

Outlets

bool32 Button 1

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

Privacy

© 2024 Zrna Research