mirror of
https://github.com/Enne2/Led-Monitor-2.git
synced 2026-09-27 11:26:29 +00:00
- Created .gitignore to exclude build and configuration files. - Added .vscode/extensions.json for recommended extensions. - Introduced README files in include and lib directories to explain usage of header files and libraries. - Configured platformio.ini for ESP32 development environment. - Implemented credentials.h for WiFi configuration. - Developed text_display.cpp and text_display.h for displaying text on the LED matrix. - Created matrix_rain.cpp and matrix_rain.h for rain effect simulation on the matrix. - Added font3x5_digits.h and font5x7.h for character representation. - Implemented main.cpp to initialize the matrix and handle WiFi connections. - Developed time_utils.cpp and time_utils.h for time formatting functions. - Created wifi_manager.cpp and wifi_manager.h for managing WiFi connections and NTP synchronization. - Added README in test directory for PlatformIO Test Runner and project tests.
47 lines
1.0 KiB
Plaintext
47 lines
1.0 KiB
Plaintext
|
|
This directory is intended for project specific (private) libraries.
|
|
PlatformIO will compile them to static libraries and link into the executable file.
|
|
|
|
The source code of each library should be placed in a separate directory
|
|
("lib/your_library_name/[Code]").
|
|
|
|
For example, see the structure of the following example libraries `Foo` and `Bar`:
|
|
|
|
|--lib
|
|
| |
|
|
| |--Bar
|
|
| | |--docs
|
|
| | |--examples
|
|
| | |--src
|
|
| | |- Bar.c
|
|
| | |- Bar.h
|
|
| | |- library.json (optional. for custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
|
|
| |
|
|
| |--Foo
|
|
| | |- Foo.c
|
|
| | |- Foo.h
|
|
| |
|
|
| |- README --> THIS FILE
|
|
|
|
|
|- platformio.ini
|
|
|--src
|
|
|- main.c
|
|
|
|
Example contents of `src/main.c` using Foo and Bar:
|
|
```
|
|
#include <Foo.h>
|
|
#include <Bar.h>
|
|
|
|
int main (void)
|
|
{
|
|
...
|
|
}
|
|
|
|
```
|
|
|
|
The PlatformIO Library Dependency Finder will find automatically dependent
|
|
libraries by scanning project source files.
|
|
|
|
More information about PlatformIO Library Dependency Finder
|
|
- https://docs.platformio.org/page/librarymanager/ldf.html
|