Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
Diff: rig.h
- Revision:
- 3:991c6d5ce19d
- Child:
- 9:e136394bdb39
diff -r 0c241937eabd -r 991c6d5ce19d rig.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/rig.h Thu May 17 13:37:43 2018 +0000 @@ -0,0 +1,30 @@ +#ifndef RIG_H_ +#define RIG_H_ + +#include "mbed.h" +#include "task.h" +#include "trial.h" + +// the task timer +extern Timer timer; + +// state time out +extern Timeout stateTimeout; + +// reward time out +extern Timeout rewardTimeout; + +// input +extern InterruptIn whiskIn; +extern InterruptIn lickIn; + +// output +extern DigitalOut taskOut; +extern DigitalOut cueOut; +extern DigitalOut enableOut; +extern DigitalOut rewardOut; + +extern Task task; +extern Trial trial; + +#endif \ No newline at end of file