Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
Diff: rig.cpp
- Revision:
- 4:fcf597f82632
- Parent:
- 3:991c6d5ce19d
- Child:
- 8:973dcd190672
--- a/rig.cpp Thu May 17 13:37:43 2018 +0000 +++ b/rig.cpp Wed May 23 15:15:03 2018 +0000 @@ -10,12 +10,12 @@ Timeout rewardTimeout; // input -InterruptIn whiskIn(PA_13); +InterruptIn whiskIn(USER_BUTTON); // USER_BUTTON or PA_13 InterruptIn lickIn(PA_14); // output -DigitalOut taskOut(PA_15); -DigitalOut cueOut(LED1); // or PA_4 +DigitalOut taskOut(LED1); // LED1 or PA_15 +DigitalOut cueOut(PA_4); // LED1 or PA_4 DigitalOut enableOut(PA_0); DigitalOut rewardOut(PA_1);