Guten Tag,
ich würde gerne diese Library
(https://github.com/spacehuhn/SimpleButton) mit dem Arduino benutzen.
Leider hat der Compiler ein Problem mit
bzw. kann diese nicht finden. Diese C++ Standard Library wird jedoch an
verschiedenen Stellen benötigt. Gibt es hierfür eine Lösung?
Grüße
Code:
1 | #include <SimpleButton.h>
|
2 |
|
3 | void setup() {
|
4 | // put your setup code here, to run once:
|
5 |
|
6 | }
|
7 |
|
8 | void loop() {
|
9 | // put your main code here, to run repeatedly:
|
10 |
|
11 | }
|
Fehlermeldung:
In file included from
C:\Users\Admin\Documents\Arduino\libraries\SimpleButton\src/Buttons/Butt
on.h:5:0,
from
C:\Users\Admin\Documents\Arduino\libraries\SimpleButton\src/SimpleButton
.h:4,
from
C:\Users\Admin\Desktop\sketch_dec01a\sketch_dec01a.ino:1:
C:\Users\Admin\Documents\Arduino\libraries\SimpleButton\src/Events/Event
.h:5:10: fatal error: functional: No such file or directory
#include <functional>
^~~~~~~~~~~~
compilation terminated.
exit status 1
Fehler beim Kompilieren für das Board Arduino Uno.