using
the serial monitor stop after a few seconds, but if I use the flag "-D USB_RAWHID" that work fine.
- teesy 3.2
- teensy_serialmon
- arch linux
- platformio
the serial monitor stop after a few seconds, but if I use the flag "-D USB_RAWHID" that work fine.
Code:
#include "WProgram.h"
extern "C" int main() {
Serial.begin(19200);
delay(3000);
pinMode(13, OUTPUT);
for (int i = 0; ; i++) {
Serial.print("...\n ");
Serial.print(i);
delay(100);
digitalWrite(13, i % 2);
}
}