Page 1 of 1

$PortA Settings

Posted: Sat Oct 27, 2018 5:14 pm
by JLeith
Hello All
Before I go back to the 1 for 1 settings I though I better see if anyone has a explanation on what is happening

I had individual port settings for A1-A7 starting off with a Logic 1.
I then though I could send $PortB = 11111110 and A1 - A7 should be set to Logic 1
It worked on A1..A2..A6...A7
I set A3 that wouldn't use the $PortB Settings back to A3=1 and it worked.

I even set A3 in the Port settings to 0 then back to 1 no luck.

John

Re: $PortA Settings

Posted: Sat Oct 27, 2018 5:52 pm
by JLeith
My Error

Had not had my coffee. I totally forgot to add in the ( 0B ) to represent Binary.
I noticed my error when I switched to hex ( 0xFE )

And the brain started to work....

John