Bonjour,
J'ai fais l’acquisition d'un stm32f103c8. J'ai trouvé un fichier pour commander un ecran ili9340. Je comprend pas qu'il ne trouve pas les bibliotheques comme on peux voir dans la capture d'écran.
voici le début du *.ino qui est trop long pour etre en entier. En piece jointe le fichier complet.
Je tourne en rond Merci pour votre aide
*
Sketch uses 29,748 bytes (27%) of program storage space. Maximum is 108,000 bytes.
Global variables use 3,984 bytes of dynamic memory.
*/
#include "SPI.h" //Using library SPI in folder: \Documents\Arduino\hardware\STM32\STM32F1XX\libraries\SPI
#include ".\Adafruit_GFX.h"
#include ".\Adafruit_ILI9341.h"
// Use hardware SPI: the rest of the pins (MISO,MOSI,SCK) are the standard SPI pins of your mini.
// Using the following ILI9340/1 SPI GLCD: http://www.ebay.com/itm/2-2-inch-2-2-SPI-TFT-LCD-Display-module-240x320-ILI9341-51-AVR-STM32-ARM-PIC-/200939222521
// Vcc 3.3V ---> ILI9340 Pin# 1
// GND ---> Pin# 2
#define TFT_CS 13 // #13 UNO ---> Pin# 3
#define TFT_RST 14 // #11 UNO ---> Pin# 4
#define TFT_DC 12 // #12 UNO ---> Pin# 5
// TFT_MOSI ---> Pin# 6
// TFT_SCK ---> Pin# 7
// LED backlight ---> Pin# 8
// TFT_MISO ---> Pin# 9
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC, TFT_RST); // Use hardware SPI (on Uno, #13, #12, #11)
void setup() {
}
20150218_Color_TFT.zip (111 KB)
