The rising/falling pin function takes a void pointer parameter