Pikir dan Rasa

cogito ergo sum

Arduino Forum – millis() rollover

leave a comment »

The arithmetic unit “borrows” a bit (bit 9) and treats the minuend (the number being subtracted from) as if its value was 258 (0x102, 100000001 binary). In other words, inside the CPU the calculation actually looks like this: …

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1260223964/1

Posted from WordPress for Android

Written by sunupradana

January 17, 2012 at 11:02 pm

Posted in Electronics

Tagged with ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: