Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
Diff: rig.cpp
- Revision:
- 12:06ea96546af1
- Parent:
- 11:897ecd5413e0
- Child:
- 20:4c06d3041337
--- a/rig.cpp Thu Jun 21 17:57:22 2018 +0000 +++ b/rig.cpp Mon Jun 25 12:10:31 2018 +0000 @@ -29,11 +29,11 @@ // output DigitalOut audioOut(ARDUINO_A0); // or LED1 -Conditioning visualOut(ARDUINO_A1); // -Duration rewardOut(ARDUINO_A2); // +Pulse visualOut(ARDUINO_A1); // +Pulse rewardOut(ARDUINO_A2); // -Duration trialStart(ARDUINO_A3, ms_to_us(TRIGGER_DUR_MS)); // or any other pin -Duration trialEnd(ARDUINO_A4, ms_to_us(TRIGGER_DUR_MS)); // +Pulse trialStart(ARDUINO_A3, ms_to_us(TRIGGER_DUR_MS)); // or any other pin +Pulse trialEnd(ARDUINO_A4, ms_to_us(TRIGGER_DUR_MS)); // Task task(Pair); Trial trial;