Ik probeer om plugin_005 te compileren maar krijg dit niet voor elkaar.
Ik heb de Wiki gevolgd en de artikelen in het forum mbt deze plugin.
Wat heb ik gedaan:
in de file config_01 heb ik onderstaand bijgevoegd
// DALLAS 18B20
#define PLUGIN_005
#define PLUGIN_005_CORE
Maar krijg daarna onderstaande foutmelding:
In file included from Plugin.ino:31:
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c: In function 'boolean Plugin_005(byte, NodoEventStruct*, char*)':
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c:93: error: 'VALUE_SOURCE_PLUGIN' was not declared in this scope
Vervolgens heb ik in de plugin onderstaand ingevoegd zoals is voorgesteld op dit forum.
uint8_t DallasPin;
#define PLUGIN_ID 05
/Onderstaande regel is voor Nodo releases eerder dan 3.6.1.
#ifndef VALUE_SOURCE_PLUGIN
#define VALUE_SOURCE_PLUGIN VALUE_SOURCE_SYSTEM
#endif
#define PLUGIN_NAME "TempRead"
Ik krijg nu nog onderstaande melding:
In file included from Plugin.ino:31:
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c:31:54: error: too many decimal points in number
In file included from Plugin.ino:31:
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c:31: error: expected unqualified-id before '/' token
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c: In function 'boolean Plugin_005(byte, NodoEventStruct*, char*)':
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c:64: error: 'DallasPin' was not declared in this scope
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c: In function 'uint8_t DS_read()':
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c:154: error: 'DallasPin' was not declared in this scope
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c: In function 'void DS_write(uint8_t)':
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c:173: error: 'DallasPin' was not declared in this scope
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c: In function 'uint8_t DS_reset()':
C:/Users/anton/arduino/Nodo//Plugins/Plugin_005.c:197: error: 'DallasPin' was not declared in this scope
Ik heb de plugin meerdere malen gedownload, maar blijf foutmeldingen krijgen.
Het lijkt er op dat de plugin niet compleet is, maar dat lijkt me ook onwaarschijnlijk.
Ik hoop dat iemand mij verder kan helpen met dit probleem.
mvg,
Anton