3 posts • Page 1 of 1
I had one of these about a year ago and SerialUSB worked fine. The USB connector fell off and I only recently purchased 2 more. I can upload blink no problem so I know upload works. But when I upload the code below I get nothing on the Serial monitor. I'm guessing I have forgot something that is quirky about these boards:
- Site Admin
- Posts: 1447
- Joined: Wed Feb 03, 2016 10:26 pm
- Location: Wellington , New Zealand
The ARM verison of Arduino does not reset the board when a serial connection is made. So the "Hey" would have been sent just after the code completed upload.
Using a while statement ensures that the code only start when a serial connection has been made.
Who is online
Users browsing this forum: No registered users and 0 guests