they are all WORD length
The RXM RSSI only outputs ~16mV/dB, so a big noise factor should really make this reading swing all over the page.
Shouldn't this be I=H*2 to show battery voltage?
Should be ...Code:ADCIN PORTA.0, sig1 ADCIN PORTA.1, VALUE1Code:ADCIN 0, sig1 ADCIN 1, VALUE1
DT
Bruce,
to answer your question, yep the code should read
However, the voltage level looked like half the amount (3~4.4VDC) floating all over the place instead of a consistent (~8.9VDC) or so. I included I=H*4 for better resolution.Code:I=H*2
DT,
I will try making the changes to channels,
thanks,
~still stumped.
Padawan-78
Darrels' note on using the correct arguments with ADCIN should cure it. Using the port bit
reference doesn't set it to the correct channel, so that's the major issue.
Thanks
DT & Bruce,
You were right about the channel numbers, Don't know were I got the idea to use "porta.?" instead of the # itself. Anyway all is well now. thanks again!
Padawan-78
Bookmarks