reading only one interrupt when it changes its value

Dependencies:   Hotboards_switches mbed

no such method: requests