Search found 22 matches

by bastibart
11 Feb 2019 23:24
Forum: Z-Uno
Topic: where is strtok()
Replies: 4
Views: 190

Re: where is strtok()

No it works only in the main cpp file
by bastibart
11 Feb 2019 23:23
Forum: Z-Uno
Topic: c++ on the z-uno
Replies: 2
Views: 277

Re: c++ on the z-uno

Thanks PoltoS
by bastibart
24 Dec 2018 02:25
Forum: Z-Uno
Topic: HELP - cannot re-include z-uno
Replies: 1
Views: 244

HELP - cannot re-include z-uno

Hello everybody I have been working with th z-uno for some time now. Firmware version is 2.1.4. IDE Version is 1.8.5 After a forced exclusion on the controller (without the z-uno entering exlusion mode) I am unable to re-include the z-uno. I have tried rescue mode and also holding the 'service' butt...
by bastibart
24 Dec 2018 01:58
Forum: Z-Uno
Topic: basic c++ class
Replies: 2
Views: 148

Re: basic c++ class

I found that the compiler is not a c++ compiler.
The prepropcessor converts everything into plain C and often fails at it.
by bastibart
19 Dec 2018 13:28
Forum: Z-Uno
Topic: zunoLoadCFGParam() - random output
Replies: 1
Views: 111

Re: zunoLoadCFGParam() - random output

Hi guys I will answer the question myself. The variable param must be static (or global) for the following to give reasonable results. No idea why. Maybe Serial.print() is asynchronous and does not store pending date in persistent buffer. static word param; zunoLoadCFGParam(64, &Param); Serial.print...
by bastibart
18 Dec 2018 00:49
Forum: Z-Uno
Topic: c++ on the z-uno
Replies: 2
Views: 277

c++ on the z-uno

Dear community, dear developers I just realized that the compiler/programmer for the z-uno is not a c++ compiler. In retrospect all those questions I posted were due to the fact that I was trying to code in c++ Can you developers confirm that c++ is not really the way to go with z-uno? Thanks so much.
by bastibart
17 Dec 2018 21:45
Forum: Z-Uno
Topic: basic c++ class
Replies: 2
Views: 148

basic c++ class

Hello guys This will not compile class classXX { public: classXX() {;} }; void setup() { classXX x1; } Any ideas why ? Arduino IDE is 1.8.5 Z-Uno firmware is 2.1.4 The compiler output is: ************* Building Arduino Sketch ************* C:\Users\SEBAST~1\AppData\Local\Temp\arduino_build_196148/sk...
by bastibart
17 Dec 2018 18:42
Forum: Z-Uno
Topic: zunoLoadCFGParam() - random output
Replies: 1
Views: 111

zunoLoadCFGParam() - random output

Hello guys Sorry to bugger you again but there appears to be a problem with reading parameters from the EPROM. ZUNO_SETUP_CFGPARAMETER_HANDLER(myHandler()) void myHandler(byte param, word *pVal) {} loop() { word val1; zunoLoadCFGParam((byte)64, &val1); Serial.println(val1); } Produces this random ou...
by bastibart
17 Dec 2018 11:35
Forum: Z-Uno
Topic: typedef struct
Replies: 4
Views: 157

Re: typedef struct

Thanks PoltoS.
by bastibart
17 Dec 2018 11:34
Forum: Z-Uno
Topic: where is strtok()
Replies: 4
Views: 190

Re: where is strtok()

Good morning

Because I want to use strtok in a separate .cpp file within a class definition rather than in the main .ino file