Changes between Version 3 and Version 4 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetOutputMask


Ignore:
Timestamp:
09/10/18 10:57:01 (6 years ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/Prog/Manual/ApplicationLibraries/lib825ev/IO/SetOutputMask

    v3 v4  
    3535}}}
    3636
     37{{{
     38// Turn on outputs 1 and 3
     39SetOutputMask(MNBD_DEV, BitToMask(1) | BitToMask(3), ALL_MASK_BITS_ON);
     40}}}
     41
     42{{{
     43// Turn off outputs 1 and 4
     44SetOutputMask(MNBD_DEV, BitToMask(1) | BitToMask(4), ALL_MASK_BITS_OFF);
     45}}}
     46
     47{{{
     48// Turn on output 2 and turn off output 3
     49SetOutputMask(MNBD_DEV, BitToMask(2) | BitToMask(3), BitToMask(2));
     50}}}
     51
    3752
    3853== See Also ==