-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I experimented a bit with the "type 1" collar. It seems to support longer/continuous vibration and shocks. Tested to 7 seconds.
I've hacked together a very crude method to let it trigger longer. If you call the function in a loop. With the loop count double the amount of seconds it seems to work about right with a delay of 250 in between.
int timestofire = sec * 2;
for (int i=0; i<timestofire; i++) {
process_message(commandC);
delay(250);
}
But after a few seconds the ESP restarts so I guess it overloads the system doing it like this. Any idea how to implement this cleanly inside of the collarTX libary?
Metadata
Metadata
Assignees
Labels
No labels