I am a Python noob, and recently purchased a 2 channel relay module from sunfounder. I wired it up to my Pi, and the relay turned on and stays on. I am wondering if any one can provide my with the simplest Python code to flip the relay on and off.
Extra Info: I am connected to pins 2 (5V), 6 (Ground), and 9 (Ground) on a Raspberry Pi Model B.
I followed the instructions