GoodArduinoCode.com
Getting Started
If you just want to get the code running as quickly as possible, without any setup on your computer, open the project in CodeSandbox.
If you prefer to set up a local development environment, clone the repository:
git clone https://github.com/wokwi/good-arduino-code
Then run npm install
to install all the dependencies.
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Adding new code examples
Create a new directory under the content
directory, and then create the following files inside:
project.json
- This file describes your project. You can see an example here.README.md
- the description of the projectsketch.ino
- the Arduino source code of your project
As soon as you create these two files, you should see the new example appear in the homepage.
Note: the name of the directory will become part of the URL of your example. For instance, if you call the
directory smart-bin
, the project will be published
as https://goodarduinocode.com/projects/smart-bin
.
License
The code is released under the terms of The MIT License. The code examples and related assets are covered by CC-BY-SA, with the following exception: you may use portions of code from the examples in your Arduino project without sharing your entire source code.