Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 4928

ADC on a pic 18f

$
0
0
Hello i have been trying to lean how to do ADC on PIC i have which is 18F2550, after watching many tutorials & reading the data sheet i came up with this C source code. i have been on & off pic programming for a while. i was able to blink a Led & create an interrupt on the pic i have,
I'm a bit confuse about the Tad setting & the Vref setting i don't understand how it really works.
I played around with the Tad & Fosc setting just to see the how much an effect it has on the output, i don't...

ADC on a pic 18f

Viewing all articles
Browse latest Browse all 4928

Trending Articles