[Solved]blue pill and ILI9341 tft
Posted: Mon Mar 16, 2020 5:31 pm
Hi, I immediately apologize if I created the topic in the wrong section and ask me to send it in the right direction. In the STM32 topic recently, before that, I used the arduino mini for a long time, but in the current project I’m sorely lacking in speed for normal operation with a display based on the ILI9341 chip.
The problem is that I just can’t connect this display to my blue pill. The first time I used this core: https://github.com/rogerclarkmelbourne/Arduino_STM32, but on the built-in library I could not even compile example, now I installed the officially core from STM, substituted the libraries from the first kernel: Adafruit_ILI9341_STM, Adafruit_GFX_AS , SPI, as well as the official Adafruit_GFX library (without it, the sample code did not compile). Now when I try to initialize the display with the command
Adafruit_ILI9341_STM tft = Adafruit_ILI9341_STM (PA4, PB1, PA7, PA5, PB10, PA6);
when compiling, I get the message: no matching function for call to 'Adafruit_ILI9341_STM :: Adafruit_ILI9341_STM (int, int, int, int, int, int) int' 'as I understood the pin numbers that I declared do not match the data type, but in all the manuals that I saw written appeal to the pin only by full name! Tell me where can I find a solution to this problem?well, or tell me where you can find the manual for using this display with stm32duino.
version of arduino IDE 1.8.9 flashing through Chinese Stlink 2.
and apologize for my bad english i use google translator
The problem is that I just can’t connect this display to my blue pill. The first time I used this core: https://github.com/rogerclarkmelbourne/Arduino_STM32, but on the built-in library I could not even compile example, now I installed the officially core from STM, substituted the libraries from the first kernel: Adafruit_ILI9341_STM, Adafruit_GFX_AS , SPI, as well as the official Adafruit_GFX library (without it, the sample code did not compile). Now when I try to initialize the display with the command
Adafruit_ILI9341_STM tft = Adafruit_ILI9341_STM (PA4, PB1, PA7, PA5, PB10, PA6);
when compiling, I get the message: no matching function for call to 'Adafruit_ILI9341_STM :: Adafruit_ILI9341_STM (int, int, int, int, int, int) int' 'as I understood the pin numbers that I declared do not match the data type, but in all the manuals that I saw written appeal to the pin only by full name! Tell me where can I find a solution to this problem?well, or tell me where you can find the manual for using this display with stm32duino.
version of arduino IDE 1.8.9 flashing through Chinese Stlink 2.
and apologize for my bad english i use google translator