Pikir dan Rasa

cogito ergo sum

Archive for January 17th, 2012

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 ,