If 0, input from UART will not go into Lua interpreter, can accept binary data. Due to limitations of the ESP8266, only UART 0 is capable of receiving data. The UART (Universal asynchronous receiver/transmitter) module allows configuration of and communication over the UART serial port. To solve the problem you must use SoftwareSerial Library or normal Serial in GPIO1 and GPIO3. But ESP8266 always have only one full Serial (Serial or Serial2) and one TX (Serial1). What the FT232RL's role is I still don't understand but it. So, it seems you have an Arduino BT from which you send data to an HM-10 which is connected to the ESP8266. So, I was reluctant to give an answer based on vague ideas and assumptions. Initially I didn't fully understand what the problem is. UART port on ESP8266 is implemented for most of the other language ports, LUA, Arduino, javascript and even ESPBasic that also has a second software UART implementation. The easiest way is to use some existing code that provides software serial, and just write the MicroPython module to access it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |