Hi guys quick question, I've been working on a project using servos and potentiometers with an arduino mega board 2560 (not an off-brand one either) and I've found that the pins 8-11 make my servos behave incredibly erratically. I've tested all pins and they work perfectly so I'm not sure what the issue is.
It doesn't bother me much as the mega board has like 50 pins so 3 faulty ones aren't an issue, but I'm just concerned about the prospect of this issue potentially spreadings, and/or me repeating the same mistake that caused it and killing other pins.
Forget your code for the moment.
Write some simple code that JUST has the servo control, leave out the stepper code.
If you wrote your code in stages, you should already have this simple code.
Can you please post a copy of your circuit, a picture of a hand drawn circuit in jpg, png?
Hand drawn and photographed is perfectly acceptable.
Please include ALL hardware, power supplies, component names and pin labels.
Ughh that's so dumb of me you're right it is the stepper motor, I thought I had checked all interferences in the code but I guess not.
I'm usually more careful before I post cause stuff but it's real late where I am so ig my brain wasn't working right sorrry. Thanks for the help anyways guys!