PlatformIO - r41d/ClusterDuck-Protocol GitHub Wiki
PlatformIO has its own IDE but what we use is the extension. This allows us to use our own favorite code editor to write firmware which is great! We don't have to download an IDE for each new tech hobby we have.
Installing ClusterDuck-Protocol global
- From the PIO Home tab select
Libraries - Search for
ClusterDuck Protocoland install it
Installing ClusterDuck-Protocol for project only
- Create a
New Projectfrom the PIO Home tab - Choose a name, select the
Heltec Wifi LoRa 32 (V2) (Heltec Automation)as board andArduinoas framework - Open the
platformio.iniwithin your newly created project and addlib_deps = ClusterDuck Protocolat the end.
Manual Install
-
Clone the CDP Repository to your local Machine
-
Go to PIO Home and click on Open project

-
Navigate to your local repository and open an example File (You will need 1 MamaDuck and 1 Papaduck for a simple network)

-
Edit your Platformio.ini on line number 23 to your local repository path. Remove ClusterDuck Protocol on line 22

-
click on the Check Icon to compile the Example
