Should I start with Arduino IDE or PlatformIO?

Start with the environment recommended by the sample you want to run. Leafony Docs includes Arduino IDE and PlatformIO instructions for AP01, AP02, and AP03.

GoalA useful starting point
Open an .ino sketch and try a small sampleArduino IDE instructions
Edit in VS Code and manage configuration files with the programPlatformIO instructions
Reproduce an existing projectThe tools and settings specified by that project

See Development environment for setup and Libraries and board definitions for board settings. Add sensor and communication libraries as specified by the sample.

AP03 and AP03B are different models. For AP03B or another MCU, check the instructions provided for that model. Using the same tool does not guarantee that board settings and pin assignments can be reused.

Leaf photo
Search documentation, sample apps, and Q&A