add PCF8574(A) port expander as passive 4x4 keyboard

This commit is contained in:
Thomas Göttgens
2024-03-26 00:18:23 +01:00
parent 5de0c71a3e
commit a4efa30799
12 changed files with 155 additions and 4 deletions

View File

@@ -30,8 +30,8 @@ ScanI2C::FoundDevice ScanI2C::firstRTC() const
ScanI2C::FoundDevice ScanI2C::firstKeyboard() const
{
ScanI2C::DeviceType types[] = {CARDKB, TDECKKB, BBQ10KB, RAK14004};
return firstOfOrNONE(4, types);
ScanI2C::DeviceType types[] = {CARDKB, TDECKKB, BBQ10KB, RAK14004, PCF8574A};
return firstOfOrNONE(5, types);
}
ScanI2C::FoundDevice ScanI2C::firstAccelerometer() const