1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-16 07:23:07 +01:00

First version for OBP 60 Light

This commit is contained in:
norbert-walter
2025-01-12 18:22:40 +01:00
parent 695013cb88
commit 71673e78bd
10 changed files with 507 additions and 160 deletions

View File

@@ -50,9 +50,11 @@ void OBP60Init(GwApi *api){
api->getLogger()->logDebug(GwLog::DEBUG,"Power Mode is: %s", powermode.c_str());
if(powermode == "Max Power" || powermode == "Only 5.0V"){
setPortPin(OBP_POWER_50, true); // Power on 5.0V rail
setPortPin(OBP_POWER_EPD, true);// Power on ePaper display
}
else{
setPortPin(OBP_POWER_50, false); // Power off 5.0V rail
setPortPin(OBP_POWER_EPD, false);// Power off ePaper display
}
// Settings for e-paper display