Hi, I'm quite new to Teensy, but am trying to switch over from Arduino. I have a WS2812 light strip I am trying to control in a program via a Teensy 4.0 (the teensy will end up controlling more, but this is the point I am at), and if I am using the serial monitor through teensyduino my commands work great, however, when I try to link the Teensy to my program it connects, but only one message makes it through/does anything, then it stops receiving/sending messages, but doesn't exactly disconnect. I feel like I'm missing a simple step somewhere. I've attached my code, it's pretty basic, might have some bugs still in it, but is the start that should eventually get what I want done (the .ino is the teensy code, the rest is my PC app). Any help would be greatly appreciated!
Thanks!
Thanks!