Open mickaelr3003 opened 1 month ago
@mickaelr3003 Tu configure bien pour compiler avec un Arduino Leonardo ? (comme indiqué dans la doc).
Non comme la carte est montée avec un Arduino pro micro, j'ai compilé avec celle-ci.
@mickaelr3003 alors, avec la compilation Arduino Leonardo, ça donne quoi ?
Désolé je n'avais pas le temps.
je viens de compiler avec arduino leonardo et j'ai ceci
`C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino: In function 'void loop()':
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:205:9: error: 'rl_config_t' was not declared in this scope
rl_config_t cnf;
^~~
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:205:9: note: suggested alternative: 'rl_configs_t'
rl_config_t cnf;
^~~
rl_configs_t
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:206:17: error: 'cnf' was not declared in this scope
memset(&cnf, 0, sizeof(cnf));
^~~
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:206:17: note: suggested alternative: 'scanf'
memset(&cnf, 0, sizeof(cnf));
^~~
scanf
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:209:35: error: 'S_TEXTSENSOR' was not declared in this scope
cnf.deviceType = (uint8_t)S_TEXTSENSOR;
^~~~
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:209:35: note: suggested alternative: 'E_TEXTSENSOR'
cnf.deviceType = (uint8_t)S_TEXTSENSOR;
^~~~
E_TEXTSENSOR
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:210:33: error: 'V_TEXT' was not declared in this scope
cnf.dataType = (uint8_t)V_TEXT;
^~
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:210:33: note: suggested alternative: 'D_TEXT'
cnf.dataType = (uint8_t)V_TEXT;
^~
D_TEXT
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:213:35: error: 'S_NUMERICSENSOR' was not declared in this scope
cnf.deviceType = (uint8_t)S_NUMERICSENSOR;
^~~~~~~
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:213:35: note: suggested alternative: 'E_NUMERICSENSOR'
cnf.deviceType = (uint8_t)S_NUMERICSENSOR;
^~~~~~~
E_NUMERICSENSOR
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:214:33: error: 'V_NUM' was not declared in this scope
cnf.dataType = (uint8_t)V_NUM;
^~~~~
C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:214:33: note: suggested alternative: 'D_NUM'
cnf.dataType = (uint8_t)V_NUM;
^~~~~
D_NUM
Plusieurs bibliothèque trouvées pour "SPI.h"
Utilisé: C:\Users\Mickael\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI
Non utilisé: C:\Users\Mickael\Documents\Arduino\libraries\SPI
exit status 1
Compilation error: 'rl_config_t' was not declared in this scope`
La libraire RadioLink n'est pas à jour; il y a longtemps que tu l'as téléchargée ?
je viens de la retelecharger sur : https://github.com/PM04290/RadioLink mais toujours le même problème
bonjour j'ai ces erreurs quand je compile le programme MDL01 C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:49:20: error: 'Serial1' was not declared in this scope TeleInfo teleinfo(&Serial1); ^
~~ C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:49:20: note: suggested alternative: 'Serial' TeleInfo teleinfo(&Serial1); ^~~ Serial C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino: In function 'void setup()': C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:73:3: error: 'Serial1' was not declared in this scope Serial1.begin(1200); ^~~ C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:73:3: note: suggested alternative: 'Serial' Serial1.begin(1200); ^~~ Serial C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino: In function 'void loop()': C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:103:5: error: 'Serial1' was not declared in this scope Serial1.end(); ^~~ C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:103:5: note: suggested alternative: 'Serial' Serial1.end(); ^~~ Serial C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:205:9: error: 'rl_config_t' was not declared in this scope rl_config_t cnf; ^~~C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:205:9: note: suggested alternative: 'rl_configs_t' rl_config_t cnf; ^~~rl_configs_t C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:206:17: error: 'cnf' was not declared in this scope memset(&cnf, 0, sizeof(cnf)); ^~~ C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:206:17: note: suggested alternative: 'scanf' memset(&cnf, 0, sizeof(cnf)); ^~~ scanf C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:209:35: error: 'S_TEXTSENSOR' was not declared in this scope cnf.deviceType = (uint8_t)S_TEXTSENSOR; ^~~~ C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:209:35: note: suggested alternative: 'E_TEXTSENSOR' cnf.deviceType = (uint8_t)S_TEXTSENSOR; ^~~~ E_TEXTSENSOR C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:210:33: error: 'V_TEXT' was not declared in this scope cnf.dataType = (uint8_t)V_TEXT; ^~C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:210:33: note: suggested alternative: 'D_TEXT' cnf.dataType = (uint8_t)V_TEXT; ^~D_TEXT C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:213:35: error: 'S_NUMERICSENSOR' was not declared in this scope cnf.deviceType = (uint8_t)S_NUMERICSENSOR; ^~~~~~~ C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:213:35: note: suggested alternative: 'E_NUMERICSENSOR' cnf.deviceType = (uint8_t)S_NUMERICSENSOR; ^~~~~~~ E_NUMERICSENSOR C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:214:33: error: 'V_NUM' was not declared in this scope cnf.dataType = (uint8_t)V_NUM; ^~~~~ C:\Users\Mickael\Desktop\LoRa2HA-main\lora2ha-MLD01-Linky-ProMicro\lora2ha-MLD01-Linky-ProMicro.ino:214:33: note: suggested alternative: 'D_NUM' cnf.dataType = (uint8_t)V_NUM; ^~~~~ D_NUM Plusieurs bibliothèque trouvées pour "SPI.h" Utilisé: C:\Users\Mickael\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\libraries\SPI Non utilisé: C:\Users\Mickael\Documents\Arduino\libraries\SPI exit status 1Compilation error: 'Serial1' was not declared in this scope