Caleborp:
can anyone tell me whats wrong with my code?
Yes. It gives a whole lot of compiler errors. Is that what you meant?
sketch_mar24c.cpp: In function 'void loop()':
sketch_mar24c:1: error: 'Start' was not declared in this scope
sketch_mar24c:2: error: 'input' was not declared in this scope
sketch_mar24c:4: error: 'state1' was not declared in this scope
sketch_mar24c:5: error: 'slow' was not declared in this scope
Oh, and please edit your post, select the code, and put it between [code] ... [/code] tags.
You can do that by hitting the # button above the posting area.
Using the "center" tag isn't quite the same thing.