Kool thank you, now my prob is i i get this error, i copied the servo8bit files to the servo library folder and changed the #include <servo.h> to <servo8bit.h> and i changed the potpin = 0; to 2 and servo from 9 to 0
sketch_oct23a.cpp:4:24: error: Servo8bit.h: No such file or directory
sketch_oct23a:5: error: 'Servo' does not name a type
sketch_oct23a.cpp: In function 'void setup()':
sketch_oct23a:12: error: 'myservo' was not declared in this scope
sketch_oct23a.cpp: In function 'void loop()':
sketch_oct23a:19: error: 'myservo' was not declared in this scope