Arduino success!

Mike O'Dell mo at ccr.org
Sun Mar 17 23:10:40 CDT 2013


congrats to both of you!

     -mo

On 3/17/13 4:31 PM, Karl W4KRL wrote:
>
> Tacoistas,
>
> Thanks for all the help you have given me with the problem I ran into 
> on my Arduino touch screen display.
>
> Every piece of my code worked perfectly when I ran it under test 
> conditions. When I put it all together the screen would detect touches 
> but the display would not update. I blamed my lack of C++ knowledge, 
> the compiler, and the cheap eBay product.
>
> Today I completely rewrote the program without using object oriented 
> features. Once again I could place multiple buttons on the screen and 
> detect that they were being touched but the screen would not change in 
> response to code.
>
> I was showing the problem to my son and explaining what each part did. 
> As soon as we got to the part that uses two analog pins for both touch 
> screen detection and LCD control I realized that the touch screen 
> should release the pins for LCD control as soon as a touch was 
> detected otherwise the LCD would not respond to commands. Adding two 
> lines of code to the touch detection function made everything work! 
> (Even the object oriented program.)
>
> Lesson learned: correctly control your hardware!
>
> Next step: interface with the miniVNA.
>
> 73 Karl W4KRL
>
>
>
> _______________________________________________
> Tacos mailing list
> Tacos at amrad.org
> https://amrad.org/mailman/listinfo/tacos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://amrad.org/pipermail/tacos/attachments/20130318/e2424bb0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 569 bytes
Desc: not available
URL: <http://amrad.org/pipermail/tacos/attachments/20130318/e2424bb0/attachment-0001.gif>


More information about the Tacos mailing list