Error from basic Servo Sweep example

Ok, it was a mix of an incomplete library in the wrong place and duplicated. I have no idea how that happened but it now seems to be sorted. Thank you all very much for your help. It is much appreciated.