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";
41 button_set_retries(&button,100);
50 /* pause - seems to not work if running from flash! (?) */
61 uart0_send_string(announce);
68 if(button_get_event(&button)) {
69 uart0_send_string(announce);
70 switch(button.key[0]) {
77 DISPLAY_SET_CONTRAST(contrast);
82 DISPLAY_SET_CONTRAST(contrast);
85 display_clear_screen();