led green blinking on network status

This commit is contained in:
2020-11-17 15:04:34 +01:00
parent fb04857772
commit eb64cc8dce
5 changed files with 48 additions and 51 deletions

View File

@ -4,9 +4,16 @@
#include <stdint.h>
typedef enum { DEBUG_1, DEBUG_2, LED_RED, LED_GREEN } signalPin_t;
typedef enum { ON, OFF, TOGGLE } signalAction_t;
typedef enum {
DEBUG_1 = 0,
DEBUG_2 = 1,
LED_RED = 2,
LED_GREEN = 3
} signalPin_t;
typedef enum { ON, OFF, TOGGLE, BLINK } signalAction_t;
void showInit();
void show(signalPin_t signalPin, signalAction_t action);