#NEWLINE# def setCriticalAlarm( self , pin , callback ) : #NEWLINE# #INDENT# '\n    setCriticalAlarm(alarm_pin , callback)\n    Sets the critical_pin to be an interrupt and calls callback() \n    when over-temperature event occurs as required.\n    ' #NEWLINE# self . removeCriticalAlarm ( ) #NEWLINE# self . critical_pin = callback #NEWLINE# pinMode ( self . critical_pin , INPUT , PULLUP ) #NEWLINE# attachInterrupt ( self . critical_pin , callback , FALLING )