Advertisement
teplofizik

test.c

Aug 18th, 2013
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.46 KB | None | 0 0
  1. // ***********************************************************
  2. //  test.c
  3. //  Тестовая программа
  4. //
  5. // ***********************************************************
  6.  
  7. #include "test.h"
  8. #include "../drivers.h"
  9. #include "../bsp.h"
  10.  
  11. static void test_onTimer(void)
  12. {
  13.     static bool State = false;
  14.    
  15.     led_Set(0, State);
  16.     State = !State;
  17. }
  18.  
  19. void test_Init(void)
  20. {
  21.     timer_AddFunction(2, &test_onTimer);
  22. }
  23.  
  24. void test_Main(void)
  25. {
  26.  
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement