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

SWITCH in PIC18F4550

$
0
0
Our professor wants us to make a program in MLab to show an output of the basic logic gates using pic18f where the inputs(switches) will be assign assign in RA1 and RA2

RB0 = RA1 + RA2
RB3 = RA1 * RA2
RB4 =RA1 xor RA2
RB7 =RA1 xnor RA2
also he don't want us to use bit oriented operation so we must use byte oriented operation only and no using of C programming

Viewing all articles
Browse latest Browse all 4923

Trending Articles