Hello everyone,
I just ordered a Teensy 3.0, and for now my main goal is to control the digital I/O ports on the board from a C++ program running on the mac (I care mostly about output for now). I'm a bit lost now, I guess it will be better once I actually get the board. I wanted to know what is the best/easiest way to do that (via teensyduino, or directly, as in the raw HID examples ?). From my C++ program I would like to be able to set the some pins on/off for a given duration with a single command.
My main question is about the delay (minimum, typical, maximum) to expect between the execution of the command in the C++ program and the actual change on the pin. Is a sub millisecond delay possible (I guess this depends if the device supports USB 2... most things I've read mention 1ms frame, so I would say USB 1) ?
I just ordered a Teensy 3.0, and for now my main goal is to control the digital I/O ports on the board from a C++ program running on the mac (I care mostly about output for now). I'm a bit lost now, I guess it will be better once I actually get the board. I wanted to know what is the best/easiest way to do that (via teensyduino, or directly, as in the raw HID examples ?). From my C++ program I would like to be able to set the some pins on/off for a given duration with a single command.
My main question is about the delay (minimum, typical, maximum) to expect between the execution of the command in the C++ program and the actual change on the pin. Is a sub millisecond delay possible (I guess this depends if the device supports USB 2... most things I've read mention 1ms frame, so I would say USB 1) ?