teste LCD TFT I2C
Dependencies: mbed mbed-STM32F103C8T6 UniGraphic
Revision 3:61f96984ff5c, committed 2020-04-25
- Comitter:
- hudakz
- Date:
- Sat Apr 25 15:07:44 2020 +0000
- Parent:
- 2:8ab51242fa0e
- Commit message:
- Bluepill driving an ILI9341 SPI TFT display.
Changed in this revision
diff -r 8ab51242fa0e -r 61f96984ff5c main.cpp --- a/main.cpp Tue Feb 05 13:43:36 2019 +0000 +++ b/main.cpp Sat Apr 25 15:07:44 2020 +0000 @@ -1,3 +1,4 @@ +#include "stm32f103c8t6.h" #include "mbed.h" #include "Arial12x12.h" #include "Arial24x23.h" @@ -20,6 +21,7 @@ int main() { + confSysClock(); //Configure system clock (72MHz HSE clock, 48MHz USB clock) backlight = 1; tft = new ILI9341(SPI_8, 10000000, PB_5, PB_4, PB_3, PA_15, PA_12, PA_11, "tft"); // SPI type, SPI speed, mosi, miso, sclk, cs, reset, dc
diff -r 8ab51242fa0e -r 61f96984ff5c mbed-STM32F103C8T6.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-STM32F103C8T6.lib Sat Apr 25 15:07:44 2020 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/hudakz/code/mbed-STM32F103C8T6/#727468adfd1d
diff -r 8ab51242fa0e -r 61f96984ff5c mbed.bld --- a/mbed.bld Tue Feb 05 13:43:36 2019 +0000 +++ b/mbed.bld Sat Apr 25 15:07:44 2020 +0000 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/mbed_official/code/mbed/builds/3a7713b1edbc \ No newline at end of file +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file