Hallo zusammen,
ich bin momentan an meinem ersten Arduino Projekt.
Als Hardware habe ich einen Micro Pro und ein Waveshare 2.8" Touch SPI TFT Display.
Link zum Display: https://www.waveshare.com/2.8inch-tft-touch-shield.htm
Die Libraries liegen unter Dokumente/Arduino/Libraries
Hier ist ein Testprogramm von der Display Hersteller Seite:
(Ich habe lediglich die die Pins am Arduino zugewiesen)
#define LCD_CS 10
#define LCD_DC 19
#define LCD_BL 18
#define TP_CS 20
#define TP_IRQ 21
// #define SCLK 15
// #define MISO 14
// #define MOSI 16
#include <stdint.h>
#include <LCD.h>
#include <SPI.h>
#define __AVR_ATmega32U4__
void setup()
{
SPI.setDataMode(SPI_MODE3);
SPI.setBitOrder(MSBFIRST);
SPI.setClockDivider(SPI_CLOCK_DIV4);
SPI.begin();
Tft.lcd_init(); // init TFT library
Tft.lcd_display_string(60, 120, (const uint8_t *)"Hello, world !", FONT_1608, RED);
Tft.lcd_display_string(30, 152, (const uint8_t *)"2.8' TFT Touch Shield", FONT_1608, RED);
}
void loop()
{
}
Es tut sich nun aber nichts, ich bin etwas ratlos. Wo kann ich den ansetzen bei der Fehlersuche?
Auf der Herstellerseite steht weiterhin:
Hardware configuration
When using the Arduino board with ICSP interface, the jumpers SB1, SB2 and SB3 on the LCD module should be kept open.
When using the Arduino board without ICSP interface, the jumpers SB1, SB2 and SB3 on the module should be connected with a 0R resistor, respectively.
Soweit ich das Verstehe muss ich dort nichts machen, und die Jumper NICHT verbinden, richtig?
Ich hoffe jemand hat ein paar Tipps für mich =)
MfG Philipp