Search found 13 matches
- Thu Apr 08, 2021 1:26 am
- Forum: ESP8266 boards
- Topic: Get current UART settings
- Replies: 3
- Views: 2830
Get current UART settings
I'm trying to create a configuration function that reads the current settings and prompts the user if they want to change it. Is there a way for example to get only the current baudrate and not a tuple? of all the settings? >>> uart = UART(0, 115200) Now at the REPL I type 'uart' and I get something...
- Wed Apr 07, 2021 6:26 am
- Forum: ESP8266 boards
- Topic: IF statement problems?
- Replies: 2
- Views: 1899
Re: IF statement problems?
Thanks Peter, Just moments ago I figured out the buf = None problem, I was about to reply to myself and saw you beat me to it. Perhaps since the REPL was disabled I didn't see any exception. The whole REPL redirection thing has been my biggest frustration since trying Micropython several days ago, r...
- Wed Apr 07, 2021 2:30 am
- Forum: ESP8266 boards
- Topic: IF statement problems?
- Replies: 2
- Views: 1899
IF statement problems?
I'm stuck in a maze of twisty little passages.... I'm really not sure what's going on here. I have a polling loop to capture characters from the uart. If I don't have any IF statements and just print the characters in a While loop, then they will print with uart.write(). If I try to check for one or...