|
@@ -90,9 +90,11 @@ bool MainClass::build_actions_()
|
90
|
90
|
if (get_current_device() == -1 &&
|
91
|
91
|
!set_current_device(arg))
|
92
|
92
|
return false;
|
93
|
|
- pifacedigital_write_reg(opt == 'u' ? up_pin(arg) : down_pin(arg),
|
|
93
|
+ pifacedigital_write_bit(opt == 'u', arg, OUTPUT,
|
|
94
|
+ get_current_device());
|
|
95
|
+ /*pifacedigital_write_reg(opt == 'u' ? up_pin(arg) : down_pin(arg),
|
94
|
96
|
OUTPUT, get_current_device());
|
95
|
|
- std::cout << std::hex << (int)get_pins() << std::endl;
|
|
97
|
+ std::cout << std::hex << (int)get_pins() << std::endl;*/
|
96
|
98
|
return true;
|
97
|
99
|
});
|
98
|
100
|
}
|