Hello,
I am using MC9S12C32 microcontroller to control IO by using Port P(for sensor).I know this microcontroller can't set both falling and rising edges. That mean it can read when sensor detect the object, and then it can't read when sensor doesn't detect.
But my project need to read both detective or non-detective the object for sensor.
What should I change my program?
Thanks
I am using MC9S12C32 microcontroller to control IO by using Port P(for sensor).I know this microcontroller can't set both falling and rising edges. That mean it can read when sensor detect the object, and then it can't read when sensor doesn't detect.
But my project need to read both detective or non-detective the object for sensor.
What should I change my program?
Thanks