diff options
author | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
---|---|---|
committer | James McKenzie <git@madingley.org> | 2015-08-03 10:34:07 +0100 |
commit | 061430973e82995368d27ff9081391f9475da3c7 (patch) | |
tree | 62ac12e6cff789050ca17f00ac70d85de75e3efd /app/main.c | |
parent | 23e5d273ef3e11c8ad463c632daa5a52684bc5bb (diff) | |
download | candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.gz candlestick-061430973e82995368d27ff9081391f9475da3c7.tar.bz2 candlestick-061430973e82995368d27ff9081391f9475da3c7.zip |
fish
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 (); |