Arduino version of Stanford Parkinson’s gloves developed by Peter Tass
This code is an Arduino program that randomly flashes motors connected to digital pins 2 to 9. The Arduino digital outputs are used to drive button-type vibrator motors that are cheap and easy to buy. The idea is to follow the procedure described in this article:https://www.frontiersin.org/articles/10.3389/fneur.2021.758481/full First, constants are defined for each of the digital pins to which the motors are connected. There is a function called «estaenvector» that takes a value and a vector as arguments and returns true if the value is found in the vector and false…read more