Issue with math


I've been looking at the results I get from simple math for an hour and cannot find the reason why I get the results I do. I've broken down the code to its basic elements. The contents of the EEPROM is shown as comments in the code. Please take a look and tell me where I'm going wrong. Compiler version 3.249 and code for a PIC18F4520 controller. 

Please help.


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by HarryJenkins
05-31-2018, 08:26 PM

Users browsing this thread: 1 Guest(s)