I'm new and wanted to ask if I need to care about putting the pins on the uno correct. Like is it important if i put a cable into pwm 5 or 10. Because when I do this it doesnt work. Online i have read that it doesnt mater. And yes the code is correct. Like when I tried putting an lcd somewhere different and still configure the code it didnt work. Can someone help?
Someone can help, if you take the time to read and follow the instructions in the "How to get the best out of this forum" post.
1 Like
You have to put it into the pin indicated in your code. Or you update your code accordingly if you move the cable from one pin to another one.
2 Likes
You do need to read the documentation for libraries that you use because the libraries can effect pin usage. For instance, the Servo library uses a timer so that, if the Servo library is included, pins 9 and 10 cannot be used for PWM.
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.