button1

button S1 on axoloti core board
Author: Johannes Taelman
License: BSD
Github: gpio/in/button1.axo

Inlets

None

Outlets

bool32 button state

Init
palSetPadMode(SW1_PORT, SW1_PIN, PAL_MODE_INPUT);
Control Rate
outlet_out = palReadPad(SW1_PORT, SW1_PIN);

Privacy

© 2024 Zrna Research