Looking to compensate for help with last bit of code

I have a sketch, it's appx 95% where i want it to be with one last piece to fix.

Here's the device operation...

  1. Unit powers up in sleep mode

  2. Main button wakes up and boots into menu

  3. Menu functions scroll and can be selected and ran

  4. Operations after menu functions have ran are good

  5. Long press button for forced sleep mode is working

  6. battery monitor display when first powering on is working

  7. (This is where I'm looking for help). When the unit is in sleep mode and digital pin 21 (on atmega2560) is pulled low, I would like for it to wake up, display "CHARGING" on the lcd and once the pin is no longer pulled low, for the device to go right back into sleep mode.

I have it now where when the pin is pulled low, the lcd comes on and displays what I want, but after the pin is no longer pulled low, the device continues the wakeup instead of going back to sleep again.

If there's anyone who can help, it would be greatly appreciated.

If you have everything working to that point, it's probably a simple fix (although I'm surprised that pin 21 works). Post your code and we can should be able to point out the issue. If you'd still rather pursue the personal assistance request, send it to me via PM.

1 Like

Thank you, I just messaged you :slight_smile:

Thanks everyone, I did make contact with someone who was able to successfully make the changes. Thank you Mugambi :slight_smile:

1 Like

@mattinflorence You're welcome. It was great working with you.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.