reading only one interrupt when it changes its value

Dependencies:   Hotboards_switches mbed

Revision:
2:19c591b8f837
Parent:
0:e4efa77cbd55