From: Erik P. <epe...@iv...> - 2004-10-20 14:22:02
|
On Wed, 20 Oct 2004, Jean-Paul wrote: > Whatever the theory about bytes, bits etc. when I have to toggle a bit, I > just write: P1_6^=P1_6. It has always worked. > > The exclusive OR is the logical operation you want, not invert. Perhaps you meant P1_6=^1 ? Otherwise something exclusive-ored with itself would always be zero. Erik |