Micro Lover
Member level 2

hi
i m using mikroC PRO for PIC
in the examples of mikroC PRO for PIC, i saw one code
In the example file, in the comments, ANSEL = 0; mean to Configure AN pins as digital, and what dose the statement ANSELH = 0; means? and also C1ON and C2ON also????
i want to know, from where i got all these information, statements and there function?
i m using C language and mikroC PRO for PIC
and finally, i m not college or university student, its just my hobby
thxxxxxxxxx
i m using mikroC PRO for PIC
in the examples of mikroC PRO for PIC, i saw one code
Code:
ANSEL = 0; // Configure AN pins as digital
ANSELH = 0;
C1ON_bit = 0; // Disable comparators
C2ON_bit = 0;
In the example file, in the comments, ANSEL = 0; mean to Configure AN pins as digital, and what dose the statement ANSELH = 0; means? and also C1ON and C2ON also????
i want to know, from where i got all these information, statements and there function?
i m using C language and mikroC PRO for PIC
and finally, i m not college or university student, its just my hobby
thxxxxxxxxx