Checking Pin Values with BusIn

27 Sep 2011

Hello, I am trying to write a program that will depend on the outcome of where p5,p6,p7,p8 are all open circuited.

I was able to detect 1 by 1 if they were, by using the PullUp function with the DigitalIn class.

When i tried using the PullUp function with the BusIn class, the compiler gave me an error saying it would not work. Is there a similar function in mbed i can use to check this condition using only the BusIn Class?

Thank you for any help!