<div dir="ltr"><div>Hey,<br></div>Can you put the v1&v2 code on github/pastebin. Sounds like there is a mistake in version 2 of the code. <br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>Sincerely,<br>Jaime Yu<br>B.Eng in Computer Engineering, System Hardware<br>Software Developer III at Juniper Networks<br><br>$CV = "<a href="http://cv.jaimeyu.com" target="_blank">http://cv.jaimeyu.com</a>"<br>$Blog = "<a href="http://ask.jaimeyu.com" target="_blank">http://ask.jaimeyu.com</a>"<br>$Project = "<a href="http://www.capstone490.com" target="_blank">http://www.capstone490.com</a>"<br>$Linkedin = "<a href="https://www.linkedin.com/in/jaimeyu" target="_blank">https://www.linkedin.com/in/jaimeyu</a>"<br>$GitHub = "<a href="https://github.com/jaimeyu" target="_blank">https://github.com/jaimeyu</a>"<br></div></div>
<br><div class="gmail_quote">On Tue, Sep 30, 2014 at 4:45 PM, Adrian Jones <span dir="ltr"><<a href="mailto:adrian@woodsgood.ca" target="_blank">adrian@woodsgood.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I wonder if anyone has found a solution to this type of problem?<br>
<br>
I am running two versions of code on an Arduino Nano.<br>
<br>
V1: The IDE claims that this has a "Binary sketch size of 15,636 bytes (of a<br>
30,720 byte maximum)" and the freememory() function shows 1184B free. This<br>
runs fine!<br>
<br>
V2: The IDE claims that this has a "Binary sketch size of 15,640 bytes (of a<br>
30,720 byte maximum)" and the freememory() function also shows 1184B free.<br>
However, this runs the software yet corrupts the serial data output.<br>
<br>
If I add a single extra line of code to V2 (say "int lsIn =<br>
analogRead(lsPin);") the whole code crashes.<br>
<br>
Any ideas?<br>
<br>
<br>
<br>
.... Adrian_the_Canadian<br>
     <a href="http://www.woodsgood.ca/projects/" target="_blank">www.woodsgood.ca/projects/</a><br>
<br>
<br>
_______________________________________________<br>
Lab mailing list<br>
1. subscribe <a href="http://artengine.ca/mailman/listinfo/lab" target="_blank">http://artengine.ca/mailman/listinfo/lab</a><br>
2. then email <a href="mailto:Lab@artengine.ca">Lab@artengine.ca</a> to send your message to the list<br>
</blockquote></div><br></div>