erriez / erriezserialterminal Goto Github PK
View Code? Open in Web Editor NEWSerial Terminal library for Arduino
Home Page: https://github.com/Erriez/ErriezArduinoLibrariesAndSketches
License: MIT License
Serial Terminal library for Arduino
Home Page: https://github.com/Erriez/ErriezArduinoLibrariesAndSketches
License: MIT License
It would be nice if the command string wasn't case sensitive.
Something along the lines of adding it as an OPTIONAL parameter to addCommand()
.
This could be implemented by using strupr()
or strlwr()
in addCommand()
when adding to the _commandList
. Then use the same (lower or upper) function in the readSerial()
function. Specifically here:
The conversion would only be carried out if configured to do so.
I have discovered a little errorin the comparison of the command string.
It's like it takes the first that matches part of the string.
I have the following commands but the code always runs it's like i entered the first command "Setting_Ind_Bom"
so both "Setting_Ind_Port" and "Setting_Ind_Vejslojfe" get detected as "Setting_Ind_Bom"
term.addCommand("Setting_Ind_Bom", cmd_Setting_Ind_Bom);
term.addCommand("Setting_Ind_Port", cmd_Setting_Ind_Port);
term.addCommand("Setting_Ind_Vejslojfe", cmd_Setting_Ind_Vejslojfe);
I'm running on an ESP32 and I need a console to be on two serial port, both Serial and Serial1.
Would this be possible?
The trick here is that Serial is the normal serial that the boot loader etc uses, this port is used by a user to connect to the board and read/write settings. Serial1 is connected to a Nextion LCD that will write commands and poll for data. Having the same console interface on both serial port makes it all a lot easier.
Serial2 is used for modbus communication.
It will be nice to add up down arrow key command for convenience, just like linux bash command. Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.