Code: Select all
Dim LED As LATA.0 // LATx is the port output register
TRISA = 254 // or %11111110 // sets RA0 as output
Code: Select all
Dim LED As LATA.0 // LATx is the port output register
TRISA = 254 // or %11111110 // sets RA0 as output
Dave... This is great news!David Barker wrote:Work in progress...
http://www.sfcompiler.co.uk/wiki/upload ... /mplab.gif
http://www.sfcompiler.co.uk/wiki/uploads/debug/isis.gif
10-Bit ADC's max at 1023.Francis wrote:[NOTE: NONE of the individual ADC values ever go above 2000, normally in the hundreds
I've got the array merely to try and pinpoint fault/problem.