Revestroke
Newbie level 4
- Joined
- Jan 9, 2013
- Messages
- 7
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,356
Hello friends, Happy New Year and blessings :smile:.
I am working on PIC18F4580 controller.
Requirement: To put the controller in sleep mode and to minimize the power consumption.
1. LED is connected at Port B.7.
2. A switch SW is connected at Port B.0.
3. LCD is connected to Port D0-D7.
I need guidance on how I can take the PIC into sleep mode. I want, when SW will be pressed the LED starts glowing and LCD displays the acquisition or data and then after displaying, both LED and LCD will go to sleep mode. Again when SW is pressed PIC will come out from sleep.
I am using MPLAB IDE and want to learn this. Find time. Thank you.
I am working on PIC18F4580 controller.
Requirement: To put the controller in sleep mode and to minimize the power consumption.
1. LED is connected at Port B.7.
2. A switch SW is connected at Port B.0.
3. LCD is connected to Port D0-D7.
I need guidance on how I can take the PIC into sleep mode. I want, when SW will be pressed the LED starts glowing and LCD displays the acquisition or data and then after displaying, both LED and LCD will go to sleep mode. Again when SW is pressed PIC will come out from sleep.
I am using MPLAB IDE and want to learn this. Find time. Thank you.