Hello,
I've recently acquired an adeept starter kit to try and teach myself some python language while building cool stuff. Getting to know my Pi's GPIO pins has been a whole new experience for me. Although very fun I've come across a bit of a dilemma in the coding process. In one lesson to build a relay the code asks me to declare a variable to use #pin11 which is GPIO17 on my Pi.
But when I physically build the circuit the instructions have me connect to GPIO18. Strange thing is when I run the code the program executes perfect. To test how I altered the code to output from pin12(GPIO18) instead of pin11(GPIO17) and the program still executed. Any reason why?