-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
289bdf5
commit 6b279bf
Showing
6 changed files
with
61 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Example | ||
|
||
The following example is written for testing the SerialMuxProt both with Python and CPP on a microcontroller. | ||
|
||
## Installation | ||
|
||
### CPP | ||
|
||
- Using PlatformIO and the Arduino Framework, compile the files in the `examples\cpp` folder. | ||
- Flash them onto an ESP32 board of your choice and leave it connected to your computer. | ||
- Note the COM port the board is connected to, as you will need this in the next step. | ||
|
||
### Python | ||
|
||
- Install the requirements of the Python Script using the `pip install -r requirements.txt` command while inside the `examples\python` folder. | ||
- Write the correct COM port number on the constructor of the SerialClient in `__main__.py`. | ||
- Run `__main__.py` and follow the instructions on the terminal. |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
pyserial == 3.5 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +0,0 @@ | ||
keyboard==0.13.5 | ||
numpy==1.26.0 | ||