Advertisement
pongfactory

LOOP+GPIO[C]

Feb 18th, 2014
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.   int x = 0;  /* Don't forget to declare variables */
  6.   int column;
  7.     for(column = 0; column < 4; column++){
  8.  
  9.       printf( "GPIO_Pin_%d\n", column );
  10.       x++;             /* Update x so the condition can be met eventually */
  11.   }
  12.   getchar();
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement