top | item 46916295

(no title)

Borg3 | 24 days ago

Then use long.. Does Arduino CPU cannot do 16bit add/sub with carry? wtf?

discuss

order

direwolf20|23 days ago

I'm not writing the app. The app was written according to your preferred design and I'm compiling it for Arduino. You say to just use int because it always has enough bits, then you say to sometimes use long because int might not have enough bits.

Borg3|23 days ago

I dont know the indented use. If you need delay or difference, 16bit is more than enough. If you writting generic clock w/ ms accuracy, it will be not enough. You either split it or use larger storage. Its not rocket science...

1718627440|23 days ago

There is a platform where int has less than the prescribed 16 bits? How much does it have then, just 8bit or something weird?