Library to use my Photo MOS Relays Circuit having 16 or less channels.
Fork of PMRC4ch by
Diff: PMRC16ch.cpp
- Revision:
- 48:daef4fb51d25
- Parent:
- 47:a097e670a983
diff -r a097e670a983 -r daef4fb51d25 PMRC16ch.cpp --- a/PMRC16ch.cpp Wed Oct 21 20:56:01 2020 +0000 +++ b/PMRC16ch.cpp Thu Oct 22 03:00:41 2020 +0000 @@ -91,7 +91,7 @@ { m_PMRC_mode = TWIN_ELECTRODES; m_PMRC_state = m_statearray[arg_stim_ch] - |(m_statearray[arg_ref_ch1] >> 1) + | (m_statearray[arg_ref_ch1] >> 1) | (m_statearray[arg_ref_ch2] >> 1); setBits(m_PMRC_state); upload();