Page 1 of 1

Output Icon not working Properly

Posted: Wed Aug 16, 2017 3:42 pm
by Docara
Hi

Could someone run the following for me and try and get the led's to light up in the "Port_Test" macro by writing either writing 1's to the port or using bit masking.
I can only seem to get it working by using the "single Bit" option BUT if you disable/remove the macro call things seem to work properly.

Thanks

Re: Output Icon not working Properly

Posted: Wed Aug 16, 2017 4:05 pm
by LeighM
Hi,
In simulation, or on target?
Port masking works for me on simulation.
port.jpg
port.jpg (66.03 KiB) Viewed 2266 times

Re: Output Icon not working Properly

Posted: Wed Aug 16, 2017 4:15 pm
by Docara
Hi Leigh,

Your 0xFF solved it - I've been a muppet!!! :oops: :oops: I've put a '1' in the "Variable or Value box" and thought the 1 would be written the whole port

Brain Fart day

Thanks Bud
Matt