
Button 1 Text RedOn
Button RedOn Color Red

Button 2 Text GreenOn
Button GreenOn Color Green

Button 3 Text YellowOn
Button YellowOn Color Yellow

Stop

Variable Numeric Slot_LedR
Variable Numeric Slot_LedG
Variable Numeric Slot_LedB


' ====================================================================
'  LED COLORS
' ====================================================================
Label RedOn
	Slot(Slot_LedR) = 1000
	Slot(Slot_LedG) = 0
	Slot(Slot_LedB) = 0
Return

Label GreenOn
	Slot(Slot_LedR) = 0
	Slot(Slot_LedG) = 1000
	Slot(Slot_LedB) = 0
Return

Label YellowOn
	Slot(Slot_LedR) = 600
	Slot(Slot_LedG) = 400
	Slot(Slot_LedB) = 0
Return


'WATCH SlotMotor
'WATCH Abs(Slot(SlotMotor))
'WATCH v1
'WATCH Load
'WATCH Load
'EXEC Sin2 = Sin(33)
