bug report Serial.print()

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
bastibart
Posts: 23
Joined: 12 Dec 2018 16:37

bug report Serial.print()

Post by bastibart » 17 Dec 2018 11:33

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 CHANNELS: 02

Cheers
Sebastian

perjar
Posts: 49
Joined: 08 Apr 2018 18:02

Re: bug report Serial.print()

Post by perjar » 17 May 2019 16:23

Hi,

Did you ever find out what the problem was?

Perhaps my problem is related. I have found that millis() sometimes returns 0 instead of the correct value.

The following code:

Code: Select all

loop {
   currenttime = millis();
   Serial.println(currenttime);
   delay(2000);
}
Can give a printout like this:

Code: Select all

>341020
>343021
>345021
>0
>349023
Strange huh?

bastibart
Posts: 23
Joined: 12 Dec 2018 16:37

Re: bug report Serial.print()

Post by bastibart » 28 May 2019 02:13

Hi perjar

No I haven't.
Sorry I couldn't help.

Cheers
Sebastian

User avatar
PoltoS
Posts: 5061
Joined: 26 Jan 2011 19:36

Re: bug report Serial.print()

Post by PoltoS » 07 Jun 2019 14:00


Post Reply