17 lines
275 B
C
17 lines
275 B
C
#pragma once
|
|
|
|
/**
|
|
* @brief create the led thread
|
|
*
|
|
* @param file file to send blinking signals to
|
|
* @return 0 on success
|
|
*/
|
|
int led_create_thread(char *file);
|
|
|
|
/**
|
|
* @brief set the led rate
|
|
*
|
|
* @param r number of blinks per second
|
|
*/
|
|
void led_set_rate(double rate);
|