I am working on a robotics project.
I am using a jetson nano.
I have created codes for several components such as HC-SR04, two DC motors, several servo motors…
All my python codes work very well.
But when I execute the code that groups all but small code I get an error "ValueError: A different mode has already been set!
It is on line 12 of my code.
Everything is set to BOARD.
code for topic.txt (2.1 KB)
I don’t understand it.
Any help will be welcome.