med-material / ArduinoReactionSynchTests

Collection of Arduino Scripts for measuring human reaction time and synchronization abilities.
MIT License
0 stars 1 forks source link

Add a button to switch the modal #4

Open MaximeHollebecq opened 4 years ago

MaximeHollebecq commented 4 years ago

acutally , if we want to switch the modal (LED , ERM) in the firmware , we have to modify it in the .ino code. image

the idea is to add a button on the board that switch the boolean value and give information on which modality we are :

bastianilso commented 4 years ago

I think the reason to we have not gone this road, is because it would be very "specific" to the needs of the reaction time / synch test exercise.. Ie. it is less useful for other cases. @hendrikknoche what do you think?

hendrikknoche commented 4 years ago

yes, this could be nice to have to reduce the number of ino files students have to install/download and if the Arduino code can handle making sure the data is correctly written to the database (reaction vs. synch).

This would be best if no further soldering is required i.e. the 2nd button (pre-installed) on the shield is already working and we can simply address it from the code. if we combined the reaction and synch time ino files we should default to reaction time. (in case there is no second button if the students set up breadboards by hand). I'm not sure which other cases we have with which this could collide @bastianilso