Closed ftensi closed 9 months ago
Hi, if I use the sprite class, I get this error: C:\Users\ftens\Sviluppo SW\Arduino\M5Stack-core2_display\Sprite_drawPixel\Sprite_drawPixel.ino:39:1: error: 'TFT_eSprite' does not name a type TFT_eSprite spr = TFT_eSprite(&M5.Lcd);
If I use the M5Core.h library it works..
hello @ftensi Please use M5Canvas instead of TFT_eSprite.
M5Canvas
TFT_eSprite
M5Unifide does not use TFT_eSPI and uses M5GFX for drawing. For this reason, some functions and names are not compatible.
Hi, if I use the sprite class, I get this error: C:\Users\ftens\Sviluppo SW\Arduino\M5Stack-core2_display\Sprite_drawPixel\Sprite_drawPixel.ino:39:1: error: 'TFT_eSprite' does not name a type TFT_eSprite spr = TFT_eSprite(&M5.Lcd);
If I use the M5Core.h library it works..