2 Replies Latest reply on Apr 10, 2017 4:35 PM by userc_38731

    How to read IO Pin (Digital input and Strong drive mode)



      I have a problem to read IO pin status.




      Pin name:OK_MPU, Port:12[3] ,Type:Digital Input,


      Drive mode:Strong drive (to connect to other output enable pins)


      Then  I write in the program


         tmp = OK_MPU_Read();


      But if OK_MPU pin is connected to GND, Always  tmp status = "1".


      How can I read correct pin status ?


      Please give advice to me.