STM32 firmware for a remotely-controlled stepper motor demo with a mobile interface.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#ifndef BLINKY_H
|
|
#define BLINKY_H
|
|
#include "utils/timebase.h"
|
|
|
|
enum led_nr {
|
|
LED_READY,
|
|
LED_BUSY,
|
|
LED_ERROR,
|
|
LED_SPARE
|
|
};
|
|
|
|
void led_on(enum led_nr led);
|
|
void led_off(enum led_nr led);
|
|
void led_toggle(enum led_nr led);
|
|
void led_blink(enum led_nr led, ms_time_t ms);
|
|
|
|
#endif // BLINKY_H
|
|
|