Any input would be appreciated. Im playing around with a transmitter/reciever module. To use it I have to set 4 bits parellel then bring the transmit enable pin low. The problem Im having is I cant set 2 pins to output at the same time for some reason.
Ive tried 2 test programs to see what was going on under the hood. I put leds on gpio 0 and 1 then tried the following code with the transmit enable tied to ground.
Ive been flipping threw the data sheets and I thing the problem is from pins 0 and 1 being configured as comparator inputs. Now I just need to figure out how to trun the bloody thing off
I tried disabling the comparitor and analog inputs but am still getting the same problem. My code works fine on a 16F84A so I know its gotta be in the config of the 12F675.
I tried disabling the comparitor and analog inputs but am still getting the same problem. My code works fine on a 16F84A so I know its gotta be in the config of the 12F675.
Ya gpio.3 is input only. I assigned gpio to 3 (gpio = 3) to make pins 0 and 1 HIGH. I cut and pasted the ansel commands from a previous project and probably should have removed ansel.3 = 0 from my post.
Thanks for the replies all.
(edited for bad spelling. I lay blame on my slow coffee maker lol)