So here's the situation. I recently purchased a new teensy 3.2 and I am trying to get it to run its first program for one of my servo motors, titled "sweep" (from the arduino sketch examples). The problem is, once I uploaded the sketch, the servo motor kind of twitched, did a partial sweep, then stopped. I am under the interpretation that this code is supposed to sweep back and forth indefinitely, correct? Aside: How would I stop it from sweeping, or rather how would I end the program's infinite loop?
Furthermore, the fast and slow blinks for the LEDs, programmed from the tutorial, are no longer working, and whenever I plug in the teensy the LEDs will not turn on at all regardless of whether I am in manual or automatic mode. I am unsure of what is going on and any help would be appreciated.
I've also went ahead and included a screenshot of the code and my setup with the teensy loader:
Thanks.
Furthermore, the fast and slow blinks for the LEDs, programmed from the tutorial, are no longer working, and whenever I plug in the teensy the LEDs will not turn on at all regardless of whether I am in manual or automatic mode. I am unsure of what is going on and any help would be appreciated.
I've also went ahead and included a screenshot of the code and my setup with the teensy loader:
Thanks.