aliekens / flitsfiets

Flitsfiets om undercover snelheidsmetingen van voertuigen te doen
26 stars 6 forks source link

USB serial only if connected #3

Closed devriesewouter89 closed 5 years ago

devriesewouter89 commented 5 years ago

the USB serial is slow (19200), if not connected we don't need to write to it. if(Serial) checks if serial connection is open, if not, skip writing to the UART