Monitor the temperature changes of the Raspberry Pi processor to switch the mode of operation of the GPIO port