M5 Stamp S3 (or M5Dial): Input from console
-
Hello,
I would like to start a few debug commands via the console. To do this I have to read the first serial port and not block the program.
The following command does not block, but nothing is read in and the error message "Multiple decode errors occurred: Try checking the baud rate and XTAL frequency setting in menuconfig" appears.
setvbuf(stdin, NULL, _IONBF, 0); c = fgetc(stdin);I use ESP-IDF 5.1 and the the "M5Dial-UserDemo" as base.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login