-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Craig,
> Doing this requires every I/O pin the Uno has including D0 and D1 > which are used for serial communication. > > My question is what do I need to do to disable serial > communication completely so I have complete control of all I/O > lines, all of the time? You do have control over everything, all the time. To use the usart IO ports as something different than usart traffic, just dont call the usart words by e.g. redirecting them to something that mimics the stack effect but does nothing on the port pins/expects something from them. Make sure, that no usart traffic comes in. With these precautions, use the DDR/PIN/PORT register just like you'd do on any other port. > In the recipes I saw how to turn off echo and I saw the code for > critical sections. If I employ both of these techniques is that > sufficient? Sounds like you named all that matters here. Never tried it myself, however. If you are short on code space, the usart code may be removed too, but that may be a creative challenge until the assembler is satisfied... Matthias -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlJ6rOoACgkQ9bEHdGEMFjPMaQCgyVq29gafiR+0sFwel7xSpcxr CIwAnir6DpNYMXpQQ/2RYD2u9wEzIxay =nnIA -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Amforth-devel mailing list for http://amforth.sf.net/ Amforth-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amforth-devel