btnlt kit

This commit is contained in:
Siwat Sirichai 2024-01-27 21:59:36 +07:00
parent 9c25fca3c3
commit 4572ecbe11
9 changed files with 439 additions and 1 deletions

View file

@ -36,7 +36,7 @@ bool ESPMegaPRO::begin()
ESP_LOGE("ESPMegaPRO", "Is this an ESPMegaPRO device?");
return false;
}
uint8_t inputPinMap[16] = {0, 1, 2, 3, 4, 5, 6, 7, 15, 14, 13, 12, 11, 10, 9, 8};
uint8_t inputPinMap[16] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 15, 14, 13, 12};
inputs.loadPinMap(inputPinMap);
uint8_t outputPinMap[16] = {8, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7};
outputs.loadPinMap(outputPinMap);