SHARE
TWEET

Untitled

a guest Apr 28th, 2010 137 Never
  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.     }
RAW Paste Data
Top