diff options
Diffstat (limited to 'app/main.c')
-rw-r--r-- | app/main.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -6,9 +6,11 @@ main (void) { /*set up pll */ //rcc_clock_setup_in_hse_8mhz_out_24mhz (); - rcc_clock_setup_in_hse_8mhz_out_72mhz (); + //rcc_clock_setup_in_hse_8mhz_out_72mhz (); //rcc_clock_setup_in_hsi_out_48mhz(); + rcc_clock_setup_in_hse_8mhz_out_48mhz (); + /*turn on clocks to periferals */ rcc_periph_clock_enable (RCC_GPIOA); rcc_periph_clock_enable (RCC_GPIOB); @@ -22,7 +24,6 @@ main (void) keypad_init (); - lcd_backlight (1); #if 0 { @@ -31,12 +32,13 @@ main (void) lcd_write (buf, 0, 1); } #endif + lcd_write ("Booting...", 0, 0); - lcd_write ("hello world", 0, 0); usb_init (); + code_display(); usb_run (); |