Advertisement
Guest User

Untitled

a guest
Apr 28th, 2010
401
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.37 KB | None | 0 0
  1. void* main(void)
  2. {
  3. #ifdef TCCBOOT
  4.     int rc;
  5.     unsigned char* loadbuffer = (unsigned char*)LOAD_ADDRESS;
  6. #endif
  7.  
  8.     // LCD uses PORTA, so there's lots of pins to check
  9.     uint32_t*   gpio_a = (uint32_t*)0x80003000;
  10.  
  11.     // Set b for output
  12.     *(gpio_a + 0x4) = 0xFFFFFFFF; //0x1 << 18;
  13.  
  14.     while (1)
  15.     {
  16.         *(gpio_a) = 0xFFFFFFFF; //0x1 << 18;
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement