gpio - add temp function, change time function