1911
General Mach Discussion / Re: Adding outputs controlled by custom buttons
« on: March 19, 2018, 05:12:38 AM »
sorry Little mistake, right code:
If IsOutputActive(OUTPUT1) Then
DeactivateSignal(OUTPUT1)
Else
ActivateSignal(OUTPUT1)
End If
it will only work for Outputs witch are enabled in Config -> Ports&Pins -> Outputs
If IsOutputActive(OUTPUT1) Then
DeactivateSignal(OUTPUT1)
Else
ActivateSignal(OUTPUT1)
End If
it will only work for Outputs witch are enabled in Config -> Ports&Pins -> Outputs