add more arithmetic to gpio temp
fix bug in temp_check
gele