Anyone used the portenta yet with this library or have any examples? I tried the link below but did not have any luck. I do not have the touchscreen version.
This is what I'm trying to get to work.
// demonstrates drawing and touch operations.
// needs this library Adafruit_ILI9341
// needs this library install as zip file https://github.com/Lennart401/PortentaTouchScreen
//
#include <Adafruit_GFX.h>
#include <Adafruit_ILI9341.h>
// Set for Portenta
// SPI settings MISO (CIPO) D10 // on Portenta
// MOSI (COPI) D9
// SCK D8
#define TFT_CS D7
#define TFT_DC D6
Adafruit_ILI9341 tft = Adafruit_ILI9341(TFT_CS, TFT_DC);
void setup()
{
Serial.begin(9600);
tft.begin();
tft.fillScreen(ILI9341_BLUE);
// origin = left,top landscape (USB left upper)
tft.setRotation(1);
tft.setTextColor(ILI9341_WHITE);
tft.setTextSize(2);
tft.setCursor(100, 20); //before print set x,y
tft.println("Working!");
}
void loop(){
}
Thanks.