-
uart problem
Hi,
I am trying to make a battery powered device so power is of a premium.
When i put the Pic 16f88 to sleep the uart pin RB5 stays hi which is drawing current from the supply as it is going into a RF transmitter that is turned off.
How can i turn RB5 off when in sleep, i have tried TRISB = %11111111 to no avail
Cheers
Paul
-
Re: uart problem
If you need direct control of the TX pin your only option is to disable the hardware uart.
-
Re: uart problem
-
Re: uart problem
Can't you just say
Code:
PortB.5 = 0
sleep
PortB.5 = 1
restart Uart etc if reqd