For each of the sixteen GPIO pins employees in this practice, We need to create a subdirectory, and two scripts in Python; one to turn on, and the other to turn the relay, Here is an example with the PIN 11.
Kwa kila mmoja vigingi GPIO kumi na sita wafanyakazi katika zoezi hili, Tunahitaji kujenga jalidi ndogo, na Hati mbili katika Chatu; moja kurejea kwenye, na wengine kurejea relay ya, Hapa ni mfano na ya BANA 11.