Thanks in advance for helping. I am new to this world and eventually will dig into it but have limited time for now. The objective is to wake up my laptop from Connected Standby so Windows Task Scheduler can run and record TV unattended. As you probably know, CS is a new architecture and only a mouse click or button push will wake up the computer. What I need is a sketch to send 2 mouse clicks with a 1 second interval after a time delay of 6 hours. I will have a battery powered Leonardo. I know I can install an RTC and set the actual time for the action but for now I want to keep the package small and just send the clicks after a countdown timer runs. Thank you very much for your time!
BobbyGee:
I will have a battery powered Uno.
An Uno can't send mouse clicks. You need a Leonardo. See the Reference documentation
...R
I will have a battery powered Leonardo. I know I can install an RTC and set the actual time for the action but for now I want to keep the package small and just send the clicks after a countdown timer runs.
http://arduino.cc/en/Reference/MouseKeyboard
Should be straight forward... Probably even an example in the Leonardo sketches.
Ray
it is considered very bad form to cross post.
BobbyGee:
I will have a battery powered Leonardo.
You didn't say Leonardo here when I wrote Reply #1
Please don't change posts so as to make later comments look stupid. If you want to change your mind just do so in a later post, or at least acknowledge that you have changed the original in response to a subsequent comment.
I presume you have looked at the reference page that I linked to.
If there is something about using that information that you don't understand please let us know and we will try to help.
...R
it would be much easier to send a key-press by simulating a keyboard rather than a mouse if you have a PS2 connection on the pc and there are some ps2 libraries out there that can be stripped down quite easily for what you want, so you could use an uno instead of a leonardo (unless you need usb hid support)