Jak połączyć fizycznie przyciski w arduino mega w standardowej bibliotece do rolet ? Zmieniłem stan na "true" ? przez tel działa fajnie. Jak podłączyć przyciski fizycznie. Jestem zielony, kombinuje ale coś to mi nie wychodzi, a temat pewnie prosty.Np. Pod pin 20 podłączam kabelek skąd ? z jakiego pinu ? Pozdrawiam, proszę o wyrozumiałość
// CHANNEL1 - TWO RELAYS (Roller shutter operation)
SuplaDevice.addRollerShutterRelays(47, // 46 - Pin number where the 1st relay is connected
46, true); // 47 - Pin number where the 2nd relay is connected
SuplaDevice.setRollerShutterButtons(1, // 1 - Channel Number
20, // 20 - Pin where the 1st button is connected
21); // 21 - Pin where the 2nd button is connected
// CHANNEL2 - TWO RELAYS (Roller shutter operation)
SuplaDevice.addRollerShutterRelays(49, // 48 - Pin number where the 1st relay is connected
48 , true); // 49 - Pin number where the 2nd relay is connected
SuplaDevice.setRollerShutterButtons(2, // 2 - Channel Number
22, // 22 - Pin where the 1st button is connected
23); // 23 - Pin where the 2nd button is connected
