@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
Hi, evrebody, I'm creating a sailboat program.
Anyway, could anyone help me to integrate the WifiManager library into my code, I'm programming in C++ on PlatformIO.
Or if someone 'know another way to configure the M5Stack's wifi with my phone (web server) ???
Thank you
hi, Zathras0
Why you use Arduino IDE, work rather with PlatformIO it's easier to use.
And I think that your function was not declared above in your code or from what I saw this function and made for an ESP.
Did you know that select M5Stack in your board from the menu <tool>
and I start in C++ so I tell you about my problems that I met
So, I found my mistake, I put the 3 files in the SD card while it was put in the system file. first problem solved but now he still does not want to connect to my PA, he connects and then disconnects 5 seconds later
hello I have a problem I think the M5Stack does not mark my SD card because it can not find the WIFI configuration file
Hi, I had the same problem as you, my M5stack did not connect or crash if you did it by force, for cons I solved my problem by installing a new firmware and changing USB port, I was on a HUB and now I'm using a USB port on my PC
Link of the firmware : https://github.com/botofancalin/M5Stack-MultiApp-Advanced