Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ***********************************************************
- // test.c
- // Тестовая программа
- //
- // ***********************************************************
- #include "test.h"
- #include "../drivers.h"
- #include "../bsp.h"
- static void test_onTimer(void)
- {
- static bool State = false;
- led_Set(0, State);
- State = !State;
- }
- void test_Init(void)
- {
- timer_AddFunction(2, &test_onTimer);
- }
- void test_Main(void)
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement