Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
NextionSerial.h
00001 #pragma once 00002 00003 #include "mbed.h" 00004 00005 #include <vector> 00006 00007 class NextionUI; 00008 00009 class NextionSerial 00010 { 00011 public: 00012 explicit NextionSerial(PinName aTxPin, PinName aRxPin, int aBaud); 00013 00014 bool GetCurrentDualStateButton(const std::string& aObjectName); 00015 void AddNextionUI(NextionUI* aNextionUI); 00016 00017 private: 00018 void SerialLoop(); 00019 00020 private: 00021 BufferedSerial iNextionSerial; 00022 std::vector<NextionUI*> iNextionUiElements; 00023 Thread serialThread; 00024 };
Generated on Wed Jul 13 2022 10:35:08 by
1.7.2