Search found 5 matches
- Sun Nov 29, 2020 7:14 am
- Forum: Programs, Libraries and Tools
- Topic: esp8266 UART error
- Replies: 9
- Views: 7456
Re: esp8266 UART error
You have to detach REPL on UARFT first, with import uos uos.dupterm(None, 1) See: http://docs.micropython.org/en/latest/esp8266/quickref.html Thanks. Tried that as well. Still seem to hang on the sensor handshake. Moved back to my C code :( WebREPL connected >>> from pyfingerprint import PyFingerpr...
- Fri Nov 27, 2020 9:31 am
- Forum: Programs, Libraries and Tools
- Topic: esp8266 UART error
- Replies: 9
- Views: 7456
Re: esp8266 UART error
UART0 is fix assigned to the pins denoted as TX and RX. So do not have and cannot assign pins to it. It’s seems to mess up with webrepl and hangs after the call to the sensor. Sadly, reverting back to non-python, with software serial :( I really wish a serial port emulation is implemented soon. I s...
- Fri Nov 27, 2020 8:14 am
- Forum: Programs, Libraries and Tools
- Topic: esp8266 UART error
- Replies: 9
- Views: 7456
Re: esp8266 UART error
And how do I do use UART0? Just emit the pins?
- Fri Nov 27, 2020 8:13 am
- Forum: Programs, Libraries and Tools
- Topic: esp8266 UART error
- Replies: 9
- Views: 7456
Re: esp8266 UART error
FWIW, this is not a "software" UART (there's no soft UARTs in MicroPython), and there's only one full hardware UART on the ESP8266 (which is also used for the REPL). That's disappointing :) If this is the case, why do I need to declare the pins? Isn't it board depandant? The tx and rx kwargs need t...
- Thu Nov 26, 2020 3:14 pm
- Forum: Programs, Libraries and Tools
- Topic: esp8266 UART error
- Replies: 9
- Views: 7456
esp8266 UART error
Hi, I'm trying to test https://github.com/chrisb2/micropython-fingerprint on my esp8266 and following the instructions, I fail to init the software UART: from pyfingerprint import PyFingerprint from machine import UART sensorSerial = UART(1) sensorSerial.init(57600, bits=8, parity=None, stop=1, rx=1...