Creating a simple program
After creating a new empty PlatformIO project you're ready for the next step.
Preparation
The PlatformIO project structure consists of the following:
- platformio.ini (Project Configuration File)
- src directory where you should place source code (*.h, *.c, *.cpp, *.S, *.ino, etc.)
- lib directory can be used for the project-specific (private) libraries
Now, you need to download the necessary libraries and configuration files from our GitHub repository and place them in your project directory.
Writing a simple program
We're now going to write a simple program. Here's a quick example:
![](https://cdn.shopify.com/s/files/1/0552/3269/2430/files/Screenshot_2022-04-13_103443_480x480.png?v=1649838897)
Next steps
Turn on your Ringo and plug it into your computer with a USB cable.
Click the Upload button on the bottom left part of the screen (arrow pointing to the right).
![Click on the arrow pointing to the right](https://api.circuitmess.com/1623839851731-unnamed-5.png)
![Click on the arrow pointing to the right](https://api.circuitmess.com/1623839851731-unnamed-5.png)
Click on the arrow pointing to the right
You have now uploaded your code on the Ringo!