Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
main.cpp
- Committer:
- gwappa
- Date:
- 2018-05-14
- Revision:
- 2:0c241937eabd
- Parent:
- 1:871d3066c2ab
- Child:
- 3:991c6d5ce19d
File content as of revision 2:0c241937eabd:
#include "mbed.h" #include "task.h" #include "trial.h" Timeout interval; DigitalOut cue(LED1); InterruptIn whisking(USER_BUTTON); Task task(Pair); Trial trial; int main() { // automaton::init<Delay>(); while(1){ // wait for the host to access task.parseFromSerial(); } }