I have been using Z-Uno for a while. Now the old Z-Uno are no longer available for purchase. I then tried a Z-Uno 2G. The same code that works with "Z-Wave>ME Z-Uno Boards" does not compile as "Z-Wave>ME Z-Uno-2G Boards". For example the functions min() and max() are missing.
Code: Select all
TestZunoNeu:181:18: error: 'min' was not declared in this scope
distance = min(distance, 80);
^~~
TestZunoNeu:182:18: error: 'max' was not declared in this scope
distance = max(distance, 10);
^~~
Code: Select all
:...\AppData\Local\Arduino15\packages\Z-Uno2G\hardware\zw_cm4f\3.0.6\cores\LLCore\LLCore.c:29:18: note: #pragma message: ZUNO_ASSEMBLY_TYPE == ZUNO_UNO
#pragma message "ZUNO_ASSEMBLY_TYPE == ZUNO_UNO"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
....\AppData\Local\Arduino15\packages\Z-Uno2G\hardware\zw_cm4f\3.0.6\cores\LLCore\LLCore.c:255:17: note: #pragma message: ZUNO_PIN_V==6
#pragma message "ZUNO_PIN_V==6"
^~~~~~~~~~~~~~~
exit status -4
Fehler beim Kompilieren für das Board Z-Wave>ME Z-Uno-2G.
No one can find any documents specifically for the "2G boards", certainly nothing about differences or things to consider. Seems to me everything is badly prepared.