From 182ff5f4ea8e72204fd62e14651ede29d5a807a8 Mon Sep 17 00:00:00 2001 From: Dave Allie Date: Tue, 2 Dec 2025 22:41:16 +1100 Subject: [PATCH] Update README.md with updated usage instructions --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ab7b118..eaa985d 100644 --- a/README.md +++ b/README.md @@ -39,15 +39,22 @@ Libs should be categorized under `libs/` based on functionality, and then contai Add this repository as a submodule: ```bash -git submodule add https://github.com/open-x4-epaper/community-sdk.git lib/openx4 +git submodule add https://github.com/open-x4-epaper/community-sdk.git open-x4-sdk ``` -Then include any library you want in your code: +Then include add the lib categories you need into your `platformio.ini` file: +```ini +lib_extra_dirs = + open-x4-sdk/libs/display + open-x4-sdk/libs/hardware +``` + +Then you can include the libraries in your project as needed: ```cpp -#include -#include -``` +#include +#include +````` Or load tools from the `tools/` directory as needed.