21 lines
313 B
C
Raw Normal View History

2020-11-03 10:05:45 +01:00
#ifndef _SHOW_H_
#define _SHOW_H_
2020-11-01 22:21:48 +01:00
#include <stdint.h>
2020-11-17 15:04:34 +01:00
typedef enum {
DEBUG_1 = 0,
DEBUG_2 = 1,
LED_RED = 2,
LED_GREEN = 3
} signalPin_t;
2020-11-01 22:21:48 +01:00
2020-11-17 15:04:34 +01:00
typedef enum { ON, OFF, TOGGLE, BLINK } signalAction_t;
void showInit();
2020-11-03 10:05:45 +01:00
void show(signalPin_t signalPin, signalAction_t action);
2020-11-01 22:21:48 +01:00
2020-11-03 10:05:45 +01:00
#endif // _SHOW_H_