button4

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

Inlets

None

Outlets

bool32 Button 4

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

Privacy

© 2024 Zrna Research