Using a Prox Trinkey to wake a sleeping PC.

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
YetAnotherDeveloper
 
Posts: 1
Joined: Wed Aug 31, 2011 4:11 pm

Using a Prox Trinkey to wake a sleeping PC.

Post by YetAnotherDeveloper »

I have a simple little project that i was working on. I just want to be able to wake a sleeping computer running windows 10. I have a little bit of code that takes the value from the Prox sensor and based on its value just sending a keyboard command. Seeing as this registers as a keyboard when using the hid.keyboard module.

the issue is that when the computer goes to sleep it doesn't allow that device to stay awake and receive input or send those keystrokes to wake the computer. perhaps this is just a setting of the power management on the pc? is there something in the keyboard module that i can set to ask the OS to keep it awake?

TIA.

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”