This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-CC2640R2: magnetic mc-38 door sensor

Part Number: LAUNCHXL-CC2640R2
Other Parts Discussed in Thread: CC2640R2F

Tool/software: Code Composer Studio

Hello,
I'm working on school work with cc2640r2f and I do not know how to implement the magnetic mc-38 door sensor to store logic 1 and 0. In Arduin I know how to do it, but here I am completely lost. Thank you for your advice.