Sidebar & Project Management
The Left Sidebar is where you manage your project's structure and resources.
File Explorer
The File Explorer shows all files in your current sketch.
Managing Files
- Create New File: Click the "New File" icon (page with +) to add a
.ino,.h, or.cppfile. - Rename: Right-click a file and select "Rename".
- Delete: Right-click a file and select "Delete". Warning: This cannot be undone.
- Main File: The file with the same name as your project is the main entry point (contains
setup()andloop()).
Multi-file Projects
Gokino supports multi-file sketches. You can organize your code into header (.h) and source (.cpp) files to keep your project clean. The compiler automatically links them.
Templates
Click the Templates tab (folder icon) to access starter code.
- Categories: Browse by category (Sensors, Displays, Motors, IoT).
- Preview: Click a template to see a preview of the code and wiring diagram.
- Use Template: Click "Use This Template" to overwrite your current sketch with the template code. Warning: This will replace your existing code.
Library Manager
Click the Libraries tab (book icon) to manage external libraries.
Installing Libraries
- Search: Type the name of the library (e.g., "Adafruit NeoPixel").
- Select Version: Choose the version you want (defaults to latest).
- Install: Click the "Install" button.
- Include: Once installed, you can add
#include <LibraryName.h>to your code manually, or click the "Include" button to add it automatically.
Managing Installed Libraries
- Update: If a new version is available, an "Update" button will appear.
- Remove: Click the trash icon to remove a library from your project.