I need assistance on how to utilize RC4 and RC5 from PIC18F4550 to control outputs or inputs.
I will need a schematic showing any additional hardware or a text file showing any extra Mikro C code to enable these pins!
Please check the reference pictures showing how the inputs and outputs are wired for the other pins. I need to utilize RC4 and RC5 as outputs to control a 12V output switch or as INPUTs.
Here's the sample code I used to test the pins, I cant get RC4 and RC5 to work as the rest of the pins.
sbit H1 at RC4_bit;
sbit H2 at RC5_bit;
lata=0x00; latb=0x00; latc=0x00; latd=0x00; late=0x00;
trisa=0x20; trisb=0x00; trisc=0x00; trisd=0x00; trise=0x03;
18 freelancers estão ofertando em média $83 para este trabalho
Expert in Mcu Software Codings Relevant Skills and Experience Embedded C Programming Microcontroller Embedded Hardware Proposed Milestones $25 USD - Coding with simulation of problem