Re: 12 bit A2D on 18F46K80, need a bit of help for figuring TAD and getting correct v
Henrik-
Sorry for the late reply, been out with a respiratory illness - geeesh.
In your example :
ADValue = 3272
Temp = ADValue ** 35809 ' Multiply by ~0.5464
Result = ADValue + Temp ' Result now 5059
Why are you using 'Top 16 bits' for multiplying? and how did you arrive at '35809' as the multiplier?
I really want to learn from this, Thanks.
-Steve
"If we knew what we were doing, it wouldn't be called research"
- Albert Einstein
Bookmarks