Hey guys,
I'm trying to configure PORT0 as output general purpose pin. My main goal is to write a logic one to a pin and test with a scope that it actually changes.
I'm using the following code at the moment:
//config General-Purpose I/O
P0SEL = 0; //Port 0 function-select register
P0DIR = 0; //Port 0 direction register
could you please let me what i'm doing wrong.
Thanks,
Reza