2 * betty.c - alternative firmware for the betty tv ;)
4 * author: hackbard@hackdaworld.org
15 #define cc1100_init spi1_init(8,SPI_MASTER,8)
23 char announce[]="betty - live from flash at 0x80000000! ;)\r\n";
38 button_set_retries(&button,100);
47 /* pause - seems to not work if running from flash! (?) */
56 uart0_send_string(announce);
59 //flash_sector_erase(BANK2,0);
62 DISPLAY_SET_C_ADDR(0);
63 DISPLAY_SET_PAGE_ADDR(0);
69 if(button_get_event(&button)) {
70 uart0_send_string(announce);
71 if(button.key[0]==BUTTON_POWER) {