I was refering to my button command. Should I start the port high and pull it low or start low and pull high based on this bit of code?
Code:delay = 0 Button Temp_Up, 0, 255, 0, delay, 0, Up_Loop button Temp_Down, 0, 255, 0, delay, 0, Down_Loop Up_Loop: If Temp_Up = 0 Then Setpoint = Setpoint + 1 lcdout $fe, 1, "Setpoint = ", Setpoint Pause 1000 Else Goto Start_Convert Endif Goto Up_Loop Down_Loop: If Temp_Down = 0 Then Setpoint = Setpoint - 1 lcdout $fe, 1, "Setpoint = ", Setpoint Pause 1000 Else Goto Start_Convert Endif Goto Down_Loop




Bookmarks