Guest User

Untitled

a guest
Mar 16th, 2015
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. #include "board.h"
  2.  
  3.  
  4. int main(void)
  5. {
  6.    boardInit();
  7.    
  8.    while(1)
  9.    {
  10.      
  11.          if(GPIO_ReadOutputDataBit(GPIOA, GPIO_Pin_0))
  12.              
  13.          {  
  14.              LED_Red_Toggle;
  15.            DelayUs(100000);
  16.          } 
  17.        
  18.    }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment