that pin 13 internal led glows when i am using the servo sweep code even though its not defined in d code...
why is that happening? is that ok?
or is my arduino not working properly?
Seems that's nothing to worry about: there's been a lot of discussion about that here, and iirc the led on 13 being on all the time seems to have snuck in on a certain version. I'm hazy on the details. Mine is on by default, and it annoys the crap out of me, so I just throw a digitalWrite in at the top of each sketch to turn it off.