T_VOID Fwl_Lcd_Rotate1(T_BOOL rotate) { if(rotate) lcd_rotate(DEGREE_270); else lcd_rotate(DEGREE_0); }
int notmain(){ int start; int duration; bcm2835_uart_send('#'); bcm2835_uart_send('F'); bcm2835_uart_send(CHAR_SPACE); start = current_time_micros(); lcd_init(); duration = current_time_micros() - start; send_int_to_uart(duration); bcm2835_uart_send('#'); start = current_time_micros(); lcd_init_temps(); duration = current_time_micros() - start; send_int_to_uart(duration); bcm2835_uart_send('#'); start = current_time_micros(); lcd_update_temps(33, 59); duration = current_time_micros() - start; send_int_to_uart(duration); bcm2835_uart_send('#'); start = current_time_micros(); lcd_rotate(); duration = current_time_micros() - start; send_int_to_uart(duration); bcm2835_uart_send('#'); start = current_time_micros(); mcp3202_read_data(); duration = current_time_micros() - start; send_int_to_uart(duration); }