From 061430973e82995368d27ff9081391f9475da3c7 Mon Sep 17 00:00:00 2001 From: James McKenzie Date: Mon, 3 Aug 2015 10:34:07 +0100 Subject: fish --- app/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'app/main.c') diff --git a/app/main.c b/app/main.c index edca1e6..d1c9b27 100644 --- a/app/main.c +++ b/app/main.c @@ -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 (); -- cgit v1.2.3