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:
Code: Select all
from pyfingerprint import PyFingerprint
from machine import UART
sensorSerial = UART(1)
sensorSerial.init(57600, bits=8, parity=None, stop=1, rx=13, tx=12)
Code: Select all
>>> sensorSerial.init(57600, bits=8, parity=None, stop=1, rx=13, tx=12)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: expecting a pin