home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Hardware
Ambient Lighting System
[BUG] Some weird problems, Arduino (SainSmart) crashes
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lightning303" data-source="post: 1115582" data-attributes="member: 97876"><p>Well, you could try the ghetto debugging route i always go in these cases. Add a normal led to one pin and change its state within the code to see if something is actually happening. As an easy first test for example you could add code into the loop that toggles the led every second (use millis() instead of delay() so the rest of the code can still run). If you see the Arduino crash and the led is still blinking, you know the arduino actually did not crash, but rather is not getting any more infos or the wrong infos. If it crashes and its not blinking we know there is actually something wrong with the scetch/arduino. And so on. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p></blockquote><p></p>
[QUOTE="Lightning303, post: 1115582, member: 97876"] Well, you could try the ghetto debugging route i always go in these cases. Add a normal led to one pin and change its state within the code to see if something is actually happening. As an easy first test for example you could add code into the loop that toggles the led every second (use millis() instead of delay() so the rest of the code can still run). If you see the Arduino crash and the led is still blinking, you know the arduino actually did not crash, but rather is not getting any more infos or the wrong infos. If it crashes and its not blinking we know there is actually something wrong with the scetch/arduino. And so on. :) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Hardware
Ambient Lighting System
[BUG] Some weird problems, Arduino (SainSmart) crashes
Contact us
RSS
Top
Bottom