Output Icon not working Properly

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times

Output Icon not working Properly

Post 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
Attachments
Motor Controller.fcfx
(12.9 KiB) Downloaded 184 times

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: Output Icon not working Properly

Post by LeighM »

Hi,
In simulation, or on target?
Port masking works for me on simulation.
port.jpg
port.jpg (66.03 KiB) Viewed 2254 times

Docara
Posts: 315
Joined: Sun Jun 23, 2013 1:29 pm
Has thanked: 28 times
Been thanked: 61 times

Re: Output Icon not working Properly

Post 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

Post Reply