OYMYAKON
- 24th March 2011, 15:47
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
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