1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

add led handling for m5atom

This commit is contained in:
andreas
2021-11-06 16:02:30 +01:00
parent 33b2810f97
commit 62151f9c3c
6 changed files with 118 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#define VERSION "0.5.6"
#define VERSION "0.5.8"
// #define GW_MESSAGE_DEBUG_ENABLED
// #define FALLBACK_SERIAL
@@ -45,6 +45,7 @@ const unsigned long HEAP_REPORT_TIME=2000; //set to 0 to disable heap reporting
#include "NMEA0183DataToN2K.h"
#include "GwApi.h"
#include "GwButtons.h"
#include "GwLeds.h"
//NMEA message channels
@@ -495,6 +496,8 @@ void setup() {
});
NMEA2000.Open();
startAddOnTask(handleButtons,100);
setLedMode(LED_GREEN);
startAddOnTask(handleLeds,101);
}
//*****************************************************************************