refactor signaling with led and debug pins
This commit is contained in:
@ -9,5 +9,6 @@ void frontendInit();
|
||||
void frontendAdcCallback(ADC_HandleTypeDef* hadc);
|
||||
void frontendEnable();
|
||||
void frontendDisable();
|
||||
void frontendSetThreshold(int32_t threshold);
|
||||
|
||||
#endif // _FRONTEND_H_
|
@ -1,11 +0,0 @@
|
||||
#ifndef _LED_H_
|
||||
#define _LED_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef enum { RED, GREEN } ledColor_t;
|
||||
typedef enum { ON, OFF, TOGGLE } ledAction_t;
|
||||
|
||||
void led(ledColor_t color, ledAction_t action);
|
||||
|
||||
#endif // _LED_H_
|
Reference in New Issue
Block a user