ZUNO types drive me crazy.
sorry!
board hang
Re: board hang
The short reply is "because 8051 is 8bit microcontroller and the SDCC is old fashioned C-compiler". It converts types only "on demand" when you ask him. I wrote about it here https://forum.z-wave.me/viewtopic.php?f=3427&t=24150
some of the posible variants are:
Or
or
some of the posible variants are:
Code: Select all
long x = secsUp;
x /= 60;
x /= 60;
x /= 24;
Code: Select all
long x = secsUp;
x /= 84000L;
Code: Select all
long x = secsUp/long(60*60*24);
Re: board hang
awesome!
thank you again.
Have a nice day!
thank you again.
Have a nice day!