@Calin
Thanks but it's not working
board_build.f_cpu = 200000000L
but when I use the function :
//before Setup()
int cpuSpeed = ESP.getCpuFreqMHz();
//In loop()
Serial.println(cpuSpeed);
In my serial monitor it display 240
@Calin
Thanks but it's not working
board_build.f_cpu = 200000000L
but when I use the function :
//before Setup()
int cpuSpeed = ESP.getCpuFreqMHz();
//In loop()
Serial.println(cpuSpeed);
In my serial monitor it display 240
Hi, how change cpu frequency on the M5Stack.
I use platformio
Thanks
Hi, I search what it is function for reboot the M5Stack
I would like if I exceed 10 seconds of expectations then the M5stack reboot.
Thank you
@reaper7 @Calin Thanks mens
but my text was not center in my display
M5.Lcd.drawString("M5Stack has been connected", 160, 120, 2);
I think it's because of 160 and 120 values.
I would like my text to be centered in height and width.
Thank you so much, I did'nt see this function
But where should I put the function in my code?
void Display_WiFi_Connected() {
M5.Lcd.clear(BLACK);
M5.Lcd.setTextSize(2);
M5.Lcd.print("M5Stack has been connected");
}
Hello everyone,
Quiz, I have a question, how can I do to center my text on the screen.
My code:void Display_WiFi_Connected() {
M5.Lcd.clear(BLACK);
M5.Lcd.setTextSize(2);
M5.Lcd.print("M5Stack has been connected");
}
I know I can use the function M5.Lcd.setCursor(); but I would like it to center my text according to its size ????
Thanks
@Zathras0
I know that the MStack is an ESP32 but you should know that some function of the ESP32 does not work yet for the M5Stack library like analogWrite(), I saw this morning on a forum if I find the link I give it to you.
And I think it's your function that is not handled by the M5Stack librairy