diff --git a/controller.ini b/controller.ini index 1145dca..0f96ade 100644 --- a/controller.ini +++ b/controller.ini @@ -13,32 +13,32 @@ pin = 1 [relay-2] driver = gpio -pin = 11 +pin = 0 [relay-3] driver = gpio -pin = 13 +pin = 2 [relay-4] driver = gpio -pin = 15 +pin = 3 [relay-5] driver = gpio -pin = 8 +pin = 15 [relay-6] driver = gpio -pin = 10 +pin = 16 [relay-7] driver = gpio -pin = 12 +pin = 1 [relay-8] driver = gpio -pin = 16 +pin = 4 [relay-9] driver = gpio -pin = 18 +pin = 5 diff --git a/main.c b/main.c index b749ab3..db59fd0 100644 --- a/main.c +++ b/main.c @@ -107,7 +107,7 @@ main(int argc, const char** argv) /******************** SETUP WIRINGPI ********************/ - wiringPiSetupSys(); + wiringPiSetup(); piFaceSetup(200);