Utilisation de MycilaJSY #7
Replies: 2 comments
-
Bonjour, |
Beta Was this translation helpful? Give feedback.
-
Bonjour, |
Beta Was this translation helpful? Give feedback.
-
Bonjour, |
Beta Was this translation helpful? Give feedback.
-
Bonjour, |
Beta Was this translation helpful? Give feedback.
-
Bonjour.
En compilant un exemple (n'importe lequel) de MycilaJSY, j'ai cette erreur,
E:\GitHub\JSY\JSY.ino:6:9: error: 'JSY' in namespace 'Mycila' does not name a type
Mycila::JSY jsy;
^~~
In file included from E:\GitHub\JSY\JSY.ino:4:
e:\GitHub\libraries\MycilaJSY\src/MycilaJSY.h:110:19: note: 'Mycila::JSY' declared here
extern JSYClass JSY;
^~~
E:\GitHub\JSY\JSY.ino: In function 'void setup()':
E:\GitHub\JSY\JSY.ino:14:3: error: 'jsy' was not declared in this scope
jsy.begin(Serial2, 16, 17);
^~~
E:\GitHub\JSY\JSY.ino: In function 'void loop()':
E:\GitHub\JSY\JSY.ino:18:7: error: 'jsy' was not declared in this scope
if (jsy.read()) {
^~~
E:\GitHub\JSY\JSY.ino:25:3: error: 'jsy' was not declared in this scope
jsy.resetEnergy();
^~~
Utilisation de la bibliothèque ArduinoJson version 7.1.0 dans le dossier: E:\GitHub\libraries\ArduinoJson
Utilisation de la bibliothèque MycilaJSY version 3.0.1 dans le dossier: E:\GitHub\libraries\MycilaJSY
Utilisation de la bibliothèque MycilaLogger version 3.1.1 dans le dossier: E:\GitHub\libraries\MycilaLogger
exit status 1
Compilation error: 'JSY' in namespace 'Mycila' does not name a type
avez vous une solution
Merci
Beta Was this translation helpful? Give feedback.
All reactions