|
Ersa Wearable Platform
Embedded smartwatch firmware and application framework
|
Enumerations | |
| enum class | Pull : uint8_t { None , Up , Down } |
| enum class | Event : uint8_t { None = 0 , Next , Previous , Home , Action , ActionAlt , ActionLong } |
Functions | |
| void | begin (int topPin, int bottomPin, Pull topPull, Pull bottomPull, bool topActiveLow, bool bottomActiveLow) |
| void | tick () |
| Event | takeEvent () |
| bool | hasPendingEvents () |
| const char * | name (Event event) |
|
strong |
|
strong |
| void Buttons::begin | ( | int | topPin, |
| int | bottomPin, | ||
| Pull | topPull, | ||
| Pull | bottomPull, | ||
| bool | topActiveLow, | ||
| bool | bottomActiveLow | ||
| ) |
| bool Buttons::hasPendingEvents | ( | ) |
| const char * Buttons::name | ( | Event | event | ) |
| Event Buttons::takeEvent | ( | ) |
| void Buttons::tick | ( | ) |