Hello,
same program as I posted before, Decided to add the button command. used it many times before and with success. But this time it keep changing. It keep flipping through the menu as if the button was pressed. I tried pulling up and down but no difference, thats whats odd.
Code:
GetModeOfOperation:

	Lookup Op_Mode, [55,65],Operation_Mode
	
	Select Case Operation_Mode
	Case 55 								
		lcdout $FE,1,  " Charger Mode "
	Case 65 								
		lcdout $FE,1,  " Recycle Mode"
	End Select
	
		lcdout $FE,$C0, "Next or Select"
		pause 200
		
		if Selection=1 then return
		
		 BUTTON Next1,1,100,10,B0,0,Button_pressed  
		Button_pressed:  'if Next1=1 then Op_Mode = Op_Mode + 1
		Op_Mode = Op_Mode + 1
		
		if Op_Mode > 1 then Op_Mode = 0
		Goto GetModeOfOperation

Return