commit 53d6badbdd85d42b3296debf8dc3c5f1e2572a51 Author: mgillespie Date: Wed Feb 5 11:59:16 2025 -0500 Upload files to "/" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..06d7405 Binary files /dev/null and b/LICENSE differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..bb85867 --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# ES32A08 Library + +## Description +This library allows easy control of the ES32A08 board, including: +- 4-20mA and 0-10V analog inputs +- Digital inputs via shift registers +- Relays via shift registers +- 4-digit 7-segment display + +## Installation +### Arduino IDE +1. Download the library as a ZIP. +2. Go to `Sketch` -> `Include Library` -> `Add .ZIP Library...` +3. Select the downloaded ZIP file. + +### PlatformIO +Add the following line to your `platformio.ini`: +```ini +lib_deps = https://github.com/ton-repo/ES32A08_Library.git diff --git a/library.json b/library.json new file mode 100644 index 0000000..0ab7961 --- /dev/null +++ b/library.json @@ -0,0 +1,20 @@ +{ + "name": "ES32A08", + "version": "1.0.0", + "description": "Library for ES32A08 board to handle relays, digital inputs, and 7-segment display", + "repository": { + "type": "git", + "url": "https://github.com/ton-repo/ES32A08_Library.git" + }, + "authors": [ + { + "name": "Ton Nom", + "email": "ton.email@example.com", + "url": "https://github.com/ton-repo" + } + ], + "license": "MIT", + "frameworks": "arduino", + "platforms": ["espressif32"], + "dependencies": {} +} diff --git a/library.properties b/library.properties new file mode 100644 index 0000000..c3f42ad --- /dev/null +++ b/library.properties @@ -0,0 +1,9 @@ +name=ES32A08 +version=1.0.0 +author=Ton Nom +maintainer=Ton Email +sentence=Library for ES32A08 board to handle relays, digital inputs, and 7-segment display. +paragraph=Provides functions for reading analog/digital inputs, controlling relays, and displaying numbers/messages on a 7-segment display. +category=Communication +url=https://github.com/ton-repo/ES32A08_Library +architectures=esp32