Arduino

Arduino is an open source hardware and software company and maker community. Arduino started in the early 2000s. Popular with electronic makers, Arduino offers a lot of flexibility through an open source system.
Here are 16,462 public repositories matching this topic...
-
Updated
Jul 17, 2020 - HTML
-
Updated
Jul 17, 2020 - C++
I'm following https://gobot.io/documentation/platforms/chip/ on macOS and seeing a compilation error in the sample program:
undefined: gobot.On
Repro steps
I ran go get -d -u gobot.io/x/gobot/...
(worked)
Pasted the sample listed to main.go:
package main
import (
"fmt"
"gobot.io/x/gobot"
"gobot.io/x/gobot/drivers/gpio"
"gobot.io/x/gobot/platfor
There are a few flags that currently don't have proper error checking. The ones I found are -gc
, -scheduler
and -size
. Using the wrong value will lead to no or unexpected errors.
I think the best way to handle it is to add a new method to compileopts.Config
that checks whether there are any faulty flags, which is then called from the main function.
-
Updated
Oct 4, 2019
a detailed documentation is missing about WebServer example "HelloServer.ino":
what is #include <ESPmDNS.h> for?
what is void handleRoot() for?
what is void handleNotFound() for?
what is server.on("/", handleRoot) for?
what is server.on("/inline", ) for?
what means: server.send(200, "text/plain", "this works as well");
(i.e., as well to what?)
what is server.onNotFound(handleNotFo
-
Updated
Jul 16, 2020 - C++
Solutions
1. Convert INO files to CPP
2. Manual prototype declaration
#ifdef DO_NOT_USE
typedef int32_t delaytype;
void thisShouldNotAppearInTheBinary(delaytype timer); // aded manually
void thisShouldNotAppearInTheBinary(delaytype timer) {
delay(timer);
}
#endif
-
Updated
Jul 8, 2020 - C++
-
Updated
Feb 14, 2019 - JavaScript
-
Updated
Jul 10, 2020 - C++
-
Updated
Jul 17, 2020 - Go
-
Updated
Jul 2, 2020 - C
-
Updated
Jul 17, 2020 - C++
-
Updated
May 31, 2020 - Java
-
Updated
Jul 17, 2020 - C++
-
Updated
Jul 16, 2020 - Python
-
Updated
Jul 15, 2020 - C++
I'll get this added to the documentation shortly, but in the meantime here is a list of some relevant issues and comments which I'll use for it:
SmingHub/Sming#1992 (comment)
SmingHub/Sming#1724 (comment)
#2002
Do you have any explanation or reference for this formula?
https://github.com/mysensors/MySensors/blob/f4fd69eb131cd5df5572bc9018d3aa2245020123/examples/DustSensorDSM/DustSensorDSM.ino#L136
e.g. the demo implementations in this sub-directory
https://github.com/particle-iot/device-os/tree/v1.3.0-alpha.1/user/tests/app/ble
or some code snippets in the docs and tutorials still use #include "application.h"
.
Although Particle.h
(formerly Spark.h
) should have replaced application.h
(as per #249) we keep finding internal/official code using application.h
while we try to get t
-
Updated
Jun 15, 2020 - C++
Created by Massimo Banzi
Released 2003
- Organization
- arduino
- Website
- www.arduino.cc
- Wikipedia
- Wikipedia
There is an optional
board
param than may be passed in the constructor opts for all device classes. Simply put, it allows the user to specify which board they want to use in projects that have multiple boards. It is currently not documented anywhere and should probably be added to all the classes.