This is an old revision of the document!
Button
The 4 buttons on the CT Board are “active-high”, e.g. a pressed button is read as logical “1”, and debounced.
The buttons are accessible over the memory mapped interface or on GPIO port C.
Programming Example
The code snippet bellow shows how to use the Buttons.
#include "reg_ctboard.h" uint8_t data = CT_BUTTON; /* Read all buttons into the lower nibble of a byte. */