Open Gouzi001 opened 2 years ago
Hello, which example are you using? Can we make a video to demonstrate that?
It does not matter what you upload, you can try simple Serial.print(millis(); delay(1000); ...unplug LillyGO plug it back and there will be no results in Terminal. In other words seems that Serial is not being reinitialized.
Calling the millis function is "millis()". Serial.print(millis());
not important my friend.. simple disconnect LILIGO plug it back and terminal output will not work anymore... even after hard reset. :(
What printing tool do you use? Is it normal to use simple printing? (such as)
// uint32_t chipId = 0; void setup() { Serial.begin(115200); }
void loop() { for(int i=0; i<17; i=i+8) { chipId |= ((ESP.getEfuseMac() >> (40 - i)) & 0xff) << i; }
Serial.printf("ESP32 Chip model = %s Rev %d\n", ESP.getChipModel(), ESP.getChipRevision()); Serial.printf("This chip has %d cores\n", ESP.getChipCores()); Serial.print("Chip ID: "); Serial.println(chipId);
delay(3000); } //
Can you send a video demo that doesn't print properly?
https://drive.google.com/file/d/1ZjVEcGi5NkcwUUa_OVDNYbkvEdIqwgnu/view?usp=sharing
As you can see after reconnection terminal does not work anymore
This is most likely an Arduino terminal problem. You need to restart the terminal after you disconnect the USB.
i tested to open & close terminal also whole IDE, however with same result as you seen on Video. For Arduino it's working fine. Same behavior is on other PC with Linux.
I shall receive this week additional LILIGO and check if they will act better.
you program LilyGO and terminal working fine
disconnect LilyGO - still working - doing programmed actions as it should
plug it back to USB-C -> terminal does not work
Restart LilyGO by button still being connected - terminal still does not work
Reprogramm it - Terminal working.