Page 1 of 1

bug report Serial.print()

Posted: 17 Dec 2018 11:33
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

Re: bug report Serial.print()

Posted: 17 May 2019 16:23
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?

Re: bug report Serial.print()

Posted: 28 May 2019 02:13
by bastibart
Hi perjar

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

Cheers
Sebastian

Re: bug report Serial.print()

Posted: 07 Jun 2019 14:00
by PoltoS