I'm hoping somebody will help with the application of masking.
From my flowchart, I'm trying to switch on LED's connection to AN0 and AN1 at the same time but cannot get it to work.
Could somebody show me where I went wrong please. Thanks a lot....................John
How to apply Masking
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: How to apply Masking
Hello,
Could you post up your program so far so we can see what your currently doing?
Best bet would be to use an output icon to output the value 0x03 and enable masking for bits 0 and 1. This will allow RA0 and RA1 to be set at the same time without effecting the state of the other pins on PortA.
Could you post up your program so far so we can see what your currently doing?
Best bet would be to use an output icon to output the value 0x03 and enable masking for bits 0 and 1. This will allow RA0 and RA1 to be set at the same time without effecting the state of the other pins on PortA.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: How to apply Masking
Sorry guys, here is the flowchart............ thanks again...John
- Attachments
-
- Masking Flowchart.fcf
- (8 KiB) Downloaded 286 times
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times