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 »

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: 57
Joined: 08 Apr 2018 18:02

Re: bug report Serial.print()

Post by perjar »

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 »

Hi perjar

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

Cheers
Sebastian
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: bug report Serial.print()

Post by PoltoS »

Post Reply