AtomSoft
Well-Known Member
Hey all i know i have been gone for a while but ive been busy. I need a small amount of help. I want to create a device that can copy button presses and the exact time you press them and then the time it takes in between presses.
So if i press
BUTTON1 then wait 1 sec and press BUTTON2 then 500mS later i press BUTTON1 again.
The actual buttons dont matter just the timing. How can i gather the time it takes in a usable format so that i can repeat it?
If i have 1 button and:
press then delay for 200mS
Press then delay for 1sec
The delays are most important. Not exact timing like if im over or under a 100mS its still ok.
Should i set a delay for every 100mS and see if the button is pressed then count how long it is until the next button press?
Its kinda like playing a piano. I will later on enter the exact buttons to press but i need to collect the delay times for the buttons. If i can gather the delays i can enter the key for each delay later.
But i will have different Sets of unknown length. Like different songs.
Can someone please at least give me some pointers. Remember i dont really think i need a timer as it doesnt have to be down to the mS more like at least no more than a 500mS difference from original.
So if i press
BUTTON1 then wait 1 sec and press BUTTON2 then 500mS later i press BUTTON1 again.
The actual buttons dont matter just the timing. How can i gather the time it takes in a usable format so that i can repeat it?
If i have 1 button and:
press then delay for 200mS
Press then delay for 1sec
The delays are most important. Not exact timing like if im over or under a 100mS its still ok.
Should i set a delay for every 100mS and see if the button is pressed then count how long it is until the next button press?
Its kinda like playing a piano. I will later on enter the exact buttons to press but i need to collect the delay times for the buttons. If i can gather the delays i can enter the key for each delay later.
But i will have different Sets of unknown length. Like different songs.
Can someone please at least give me some pointers. Remember i dont really think i need a timer as it doesnt have to be down to the mS more like at least no more than a 500mS difference from original.