45 views
I was a http://stgfarms.com/x/cdn/?https://www.instructorsnearme.com/author/lewisgal82/ at this stuff in 6988 Ignore the part about having to reburn the bootloader But that s what the hardware http://wordworks.jp/?URL=www.instructorsnearme.com/author/elizabethazv957/ really are for In fact I m probably terrible And or apparently you need to set WDE to change the prescaler even if you re going to immediately clear it You don t want to call from loop functions that block for long time have very quick loop calls Hiya fellow n55bie and Arduino addict http://edascc.com/?URL=https://www.instructorsnearme.com/author/lewisgal82/ Well I guess you can use it for a time based interrupt Of course this isn t a real world problem that I m trying to solve So learning today is different than when I learned but the same concepts still apply Can you suggest where I have gone wrong in the code or should I be doing this differently I installed the milis library and it looks like it http://www.google.ie/url?q=https://www.instructorsnearme.com/author/elizabethazv957/ http://www.altoprofessional.com/?URL=www.instructorsnearme.com/author/elizabethazv957/ the job but I m missing something Your second write to WDTCSR is overwriting http://hansonpowers.com/?URL=www.instructorsnearme.com/author/lewisgal82/ prescaler http://shogundojo.com/?URL=https://www.instructorsnearme.com/author/elizabethazv957/ http://kimaarkitektur.no/?URL=https://www.instructorsnearme.com/author/elizabethazv957/ think When you explain in beginner language it s easier to understand and then if the explanation has some inaccuracies for one more advanced the pros will step in to set it straight What I m trying to do is really simple So the short answer is the hardware timers are designed to be used for what you re trying to do not the watchdog timer It is good for helo world blinky but often a dead end programming wise I have been working on the Arduino for a few days when I get a few minutes I ve spent ages trying to figure this out so I d http://lbast.ru/zhg_img.php?url=www.instructorsnearme.com/author/lewisgal82/ appreciate any help It s loose code did not compile it Thx for all the help my friends Sometimes https://malt-orden.info/userinfo.php?uid=456888 best answer for a newby is given by someone at the same level but a bit ahead comprehensive replies are valuable but usually a beginner will get it s http://24epen.ru/redirect?url=https://www.instructorsnearme.com/author/elizabethazv957/ value when revisiting http://nullrefer.ir/?https://www.instructorsnearme.com/author/elizabethazv957/ again down the road The WDP8 5 bits determine the Watchdog Timer prescaling when the Watchdog Timer is running I usually hit for a middle of the road complexity level and let the student tell me if that s http://www.booktrix.com/live/?URL=www.instructorsnearme.com/author/lewisgal82/ much info or http://www.wintv.com.au/?URL=https://www.instructorsnearme.com/author/lewisgal82/ enough Well we do but http://deejayspider.com/?URL=https://www.instructorsnearme.com/author/lewisgal82/ uses them