Templates (Code Samples)
To save time writing code from scratch, Gokino provides a repository of Templates with standard examples for many common scenarios.
Icon: 💠 (Shapes/Grid) or folder in Explorer.
How to use
-
Browse Categories: Samples are divided by topic:
- Basic: Blink, Button...
- Sensors: Temperature reading, distance...
- Displays: LCD, OLED...
- IoT: WiFi connection, Web Server...
-
Preview & Use:
- Click a template name to view description.
- Select Use This Template.
Mechanism
When you choose a template:
- Gokino will overwrite the template content into your open file or create a new project (depending on context).
- If the template requires a library (e.g., OLED code needs
Adafruit_SSD1306), the system might prompt you to install or automatically include necessary code.
Tip: For beginners, start with templates in the Basic section to get familiar with
setup()andloop()structure.