How do I use enum?

Hi Paul

I move it right to the top and this it the error:

sketch_aug30c:-1: error: variable or field 'ControlWinch' declared void
sketch_aug30c:-1: error: 'motion' was not declared in this scope
sketch_aug30c:-1: error: variable or field 'ControlWinch' declared void
sketch_aug30c:-1: error: 'motion' was not declared in this scope
sketch_aug30c.cpp: In function 'void ControlWinch(motion)':
sketch_aug30c:31: error: expected `}' at end of input

Do I need to include something?

Thanx for you help and patience

ttfn