rodos_template/blinky.cpp
2021-04-26 17:27:16 +02:00

39 lines
237 B
C++

/*
* TestBlinky.cpp
*
*/
#include "rodos.h"
#include "hal_gpio.h"
HAL_GPIO green(GPIO_060);
class Test:public Thread
{
public:
void init()
{
green.init(1,1,1);
}
void run()
{
green.setPins(0);
}
};
Test t;