I don't know how to edit the title to put [SOLVED] into it.
Latest posts made by vibi27
-
RE: Uploading to M5STACK BASIC DevKit
-
RE: Uploading to M5STACK BASIC DevKit
With updated versions it works well know.
For the record here are the different versions involved:
OS: Windows 10 64 bits
Latest USB driver (CP2104 installed by ArduinoIDE 1.8.10 if I remember well) for ESP32.
IDE: VisualStudioCode V1.41.1 with PlatformIO
Espressif 32 V1.11.1
M5Stack 0.2.9
PACKAGES: toolchain-xtensa32 2.50200.80 (5.2.0), framework-arduinoespressif32 2.10004.191002 (1.0.4), tool-esptoolpy 1.20600.0 (2.6.0), tool-mkspiffs 2.230.0 (2.30)Platformio.ini flags:
[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32
framework = arduino
monitor_speed=115200
#upload_port =COM6
upload_speed=921600 -
RE: Uploading to M5STACK BASIC DevKit
Same code works on Arduino IDE 1.8.10
Also tried to remove .pio/build directory to force a full rebuild on Platformio, with no success. -
Uploading to M5STACK BASIC DevKit
Hi,
I've got a black M5STACK BASIC DevKit from amazon today.
Expected to see a SubCATEGORIES "M5Stack core" or "M5Stack Black" on this forum.
I'm developping on WIN10, using PlatformIO, latest M5STACK lib (with this platformio.ini:
[env:m5stack-core-esp32]
platform = espressif32
board = m5stack-core-esp32
framework = arduinoTried some examples, with no success (black screen).
Uploaded successfully first program:
#include <M5stack.h>void setup() {
M5.begin(true, false, true); // Cause no SD card inside
M5.Lcd.print("Hello Vince");
}void loop() {
M5.update();
}Then tried this program:
#include <M5stack.h>void setup() {
M5.begin(true, false, true); // Cause no SD card inside
M5.Lcd.fillScreen(WHITE);
M5.Lcd.setCursor(100, 100);
M5.Lcd.setTextColor(RED);
M5.Lcd.setTextSize(5);
M5.Lcd.print("Hello Vince");
}void loop() {
M5.update();
}Unfortunatly, the second program always displays same as the first program (white text on black screen)
My programming method is simple: click the "PlatformIO: upload" button, wait for percentage progress, and look at the screen.Am I missing something ?
Second question: with this M5Stack-Black, do I need to call M5.Power.begin() after M5.begin(), and what are the consequences if I do not ?
Thanks for your responses