Cardputer adv and more (#395)
- Fixed TCA8418 driver - Updated T-Lora Pager for TCA driver fixes - Fixed issues with T-Lora keyboard driver - Implemented Cardputer Adv - Cleanup of Cardputer (regular) - Fix sdkconfig for E32R28T and E32R32P - Disable Wi-Fi on boot (was accidentally pushed before)
This commit is contained in:
committed by
GitHub
parent
647678ff82
commit
efd3c6041c
@@ -4,9 +4,12 @@
|
||||
|
||||
#include <Tactility/hal/i2c/I2cDevice.h>
|
||||
|
||||
#define TCA8418_ADDRESS 0x34U
|
||||
#define KEY_EVENT_LIST_SIZE 10
|
||||
constexpr auto TCA8418_ADDRESS = 0x34U;
|
||||
constexpr auto KEY_EVENT_LIST_SIZE = 10;
|
||||
|
||||
/**
|
||||
* See https://www.ti.com/lit/ds/symlink/tca8418.pdf
|
||||
*/
|
||||
class Tca8418 final : public tt::hal::i2c::I2cDevice {
|
||||
|
||||
uint8_t tca8418_address;
|
||||
@@ -23,6 +26,8 @@ class Tca8418 final : public tt::hal::i2c::I2cDevice {
|
||||
void write(uint8_t register_address, uint8_t data);
|
||||
bool read(uint8_t register_address, uint8_t* data);
|
||||
|
||||
bool initMatrix(uint8_t rows, uint8_t columns);
|
||||
|
||||
public:
|
||||
|
||||
struct PressedKey {
|
||||
|
||||
Reference in New Issue
Block a user