Closed cohen-sydney closed 2 months ago
I used Arduino to couple this ClockSample.ino for M5CoreS3 and it errors. /Users/andrew/Documents/Arduino/ClockSimple/ClockSample/ClockSample.ino:6:8: error: 'LGFX' does not name a type static LGFX lcd; ^~~~ /Users/andrew/Documents/Arduino/ClockSimple/ClockSample/ClockSample.ino:7:28: error: 'lcd' was not declared in this scope static LGFX_Sprite canvas(&lcd); // オフスクリーン描画用バッファ ^~~ /Users/andrew/Documents/Arduino/ClockSimple/ClockSample/ClockSample.ino: In function 'void setup()': /Users/andrew/Documents/Arduino/ClockSimple/ClockSample/ClockSample.ino:27:3: error: 'lcd' was not declared in this scope lcd.init(); ^~~ /Users/andrew/Documents/Arduino/ClockSimple/ClockSample/ClockSample.ino: In function 'void drawClock(uint64_t)': /Users/andrew/Documents/Arduino/ClockSimple/ClockSample/ClockSample.ino:166:3: error: 'lcd' was not declared in this scope lcd.display(); ^~~
exit status 1
Compilation error: 'LGFX' does not name a type
#define LGFX_AUTODETECT
build_flags = -DARDUINO_M5STACK_CORES3
@tobozo thanks I am using Arduino IDE.
Yep got it working thanks, just now need to set the time. should I connect to WiFi and use NTP, thoughts?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Thank you for your contributions.
Carefully written requests are more likely to be given priority. 丁寧に記述された要望は優先して対応される可能性が高くなります。
Do you support M5stack CoreS3?? can't see it in the listed devices "How to use" the Define is not there. also M5Paper??
Device Name (デバイスの名称・型番等)
M5Stack CoreS3
URL of Device Specifications document (仕様書等のURL)
https://docs.m5stack.com/en/core/CoreS3
URL of the store where we can purchase (商品を購入できるURL)