Hi
Before I start I must point out that I come from a CS background and electronics is very new to me. Hopefully this question isn't too stupid, but I have google’d, and the results haven’t satisfied me.
I'm looking at using a PIC16F84 chip to activate an opto-isolator to switch an external device, don't want to use a relay.
My question is, when I set for example port RA0 to Ouput and I send '1' the port is driven high, does this mean i'm outputting the 'VDD' voltage on the RA0 line. Same for when I send '0', am I just grounding the Pin.
If someone could explain the Input/Output concept or point me to some information it would be greatly appreciated.
Thanks
Rich
Before I start I must point out that I come from a CS background and electronics is very new to me. Hopefully this question isn't too stupid, but I have google’d, and the results haven’t satisfied me.
I'm looking at using a PIC16F84 chip to activate an opto-isolator to switch an external device, don't want to use a relay.
My question is, when I set for example port RA0 to Ouput and I send '1' the port is driven high, does this mean i'm outputting the 'VDD' voltage on the RA0 line. Same for when I send '0', am I just grounding the Pin.
If someone could explain the Input/Output concept or point me to some information it would be greatly appreciated.
Thanks
Rich