Search found 23 matches

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

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
by bastibart
17 Dec 2018 11:33
Forum: Z-Uno
Topic: bug report Serial.print()
Replies: 3
Views: 773

bug report Serial.print()

Dear developers This wll cause the z-uno to brick (after several iterations) Serial.print(millis()/1000); Tested at 4800 and 115200 Baud via USB/Serial under windows 10. REVISION:02.14 Z-WAVE FREQUENCY:EU ORIGINAL FW. CRC32: 45 54 B1 BC MAXIMUM CODE SIZE: 30 KB CURRENT FW. CRC16: FE A1 RADIO CHANNEL...
by bastibart
16 Dec 2018 17:16
Forum: Z-Uno
Topic: where is strtok()
Replies: 4
Views: 787

where is strtok()

Hy guys Keep up the great work! We really appreciate your efforts despite of all these harsh bug reports you're receiving. i have a simply question - I hope: Which header do I have to include to use strtok. I tried <string.h>, "string.h" and even c:\...\[complete path]...\string.h" Strangely in my m...
by bastibart
16 Dec 2018 17:09
Forum: Z-Uno
Topic: typedef struct
Replies: 4
Views: 679

Re: typedef struct

Hi there

Yes I read that too :-)
But it never happned to me that any compiler would require the syntax: typedef struct T {} T;

Anyway I guess there are more important things.
by bastibart
16 Dec 2018 17:03
Forum: Z-Uno
Topic: SoftwareSerial::read()
Replies: 2
Views: 417

Re: SoftwareSerial::read()

Great - thanks.

I made a huge mistake in my initial post.
read() returns of course -1 when the buffer is empty. I edited my post.
by bastibart
16 Dec 2018 17:02
Forum: Z-Uno
Topic: Can we expect micros() any time soon
Replies: 2
Views: 486

Re: Can we expect micros() any time soon

Great - thanks for the update.
by bastibart
16 Dec 2018 13:24
Forum: Z-Uno
Topic: SoftwareSerial::read()
Replies: 2
Views: 417

SoftwareSerial::read()

Dear developers The Z-Uno implementation of SoftwareSerial::read() has two problems 1. If the buffer is empty, read() returns 0 whereas the Arduino implementation returns -1 . 2. read() will return data beyond the end pointer of the buffer and wrap around to previously read data. I think many would ...
by bastibart
16 Dec 2018 13:12
Forum: Z-Uno
Topic: typedef struct
Replies: 4
Views: 679

typedef struct

Hi guys

I found another compiler problem:
The following won't compile:

typedef struct {
float val;
} t_Val;

t_Val V;



But it will when specifying a name in 'struct' namespace. (why is this required?)

typedef struct t_Val {
float val;
} t_Val;
by bastibart
16 Dec 2018 10:48
Forum: Z-Uno
Topic: strings.h strncmp returs always a zero
Replies: 3
Views: 964

Re: strings.h strncmp returs always a zero

Hi guys Array initialization with string literals is still not working. char buf[] = "hello world"; // won't fill buf[] FIRMWARE DATA ---------------------------------------------------------- REVISION:02.14 Z-WAVE FREQUENCY:EU ORIGINAL FW. CRC32: 45 54 B1 BC MAXIMUM CODE SIZE: 30 KB CURRENT FW. CRC...
by bastibart
13 Dec 2018 22:54
Forum: Z-Uno
Topic: Can we expect micros() any time soon
Replies: 2
Views: 486

Can we expect micros() any time soon

Dear developers

As the topic says - is there any chance to see micros() implemented in the near future.
Are there any hardware related difficulties here.

Thanks so much
Sebastian