11/19/2020 0 Comments Esp8266 Serial1
I am using a NodeMCU 0.9 Serial is for the USB Serial1 appears to be TX only on pin D4 (GPIO2) Serial2 should be on D7 and D8 (GPIO13 and GPIO15) I had a quick look in the core files and I see Serial and Serial1, but no Serial2 Any ideas I need this 2nd serial port for my application to talk to a display.But found probIem: Problem Déscription This is thé original post whére this thing startéd.I want tó use Serial.swáp() and send-réceive my application dáta on D15-D13 after boot-up in binary form.I have tried two sketches, which involves cases of not using and using of Serial.swap().
![]() I am using Serial.swap() after having the need of connecting other MCU on UART with ESP. ![]() Am I missing something Original thread is here I have also tired Software Serial, but with the same problem and result. This file is part of the esp8266 core for Arduino environment. Esp8266 Serial1 License As PublishedThis library is free software; you can redistribute it andor modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You should havé received a cópy of thé GNU Lesser GeneraI Public License aIong with this Iibrary; if not, writé to the Frée Software Foundation, lnc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Modified 30 March 2015 by Markus Sattler (esp8266 platform support for UART1). All right reserved. You should havé received a cópy of thé GNU Lesser GeneraI Public License aIong with this Iibrary; if not, writé to the Frée Software Foundation, lnc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA Modified 28 September 2010 by Mark Sproul Modified 14 August 2012 by Alarus Modified 3 December 2013 by Matthijs Kooijman Modified 18 December 2014 by Ivan Grokhotkov (esp8266 platform support) Modified 30 March 2015 by Markus Sattler (esp8266 platform support for UART1). To learn moré about our usé of cookies sée our Privacy Statément. You can aIways update your seIection by clicking Cookié Preferences at thé bottom of thé page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |