forgotten signaling stuff

This commit is contained in:
2020-11-01 22:21:48 +01:00
parent 5a9ef3c8d5
commit 8bfe2d229d
2 changed files with 62 additions and 0 deletions

13
cube/User/Inc/signal.h Normal file
View File

@ -0,0 +1,13 @@
#ifndef _DEBUG_H_
#define _DEBUG_H_
#include <stdint.h>
typedef enum { DEBUG_1, DEBUG_2, LED_RED, LED_GREEN } signalPin_t;
typedef enum { ON, OFF, TOGGLE } signalAction_t;
void signal(signalPin_t signalPin, signalAction_t action);
#endif // _DEBUG_H_