![]() |
How to control relays
I have gotten to a point where I need to control relays, however, I cannot find documentation in the C++/C Programming guide on how to do so. To my understanding, in order to make the relay move the forward, you would have to use relay1.Set(relay1.kForward); I try this, but it doesnt move forward =(
|
Re: How to control relays
You should be able to do it like this:
Code:
relay1.Set(Relay::kForward);Code:
relay1.Set(Relay::kOff); |
Re: How to control relays
Quote:
Code:
relay1.Set(Relay::kForward); |
Re: How to control relays
if the relay is a *pointer then you'd use this
Code:
relay1->Set(Relay::kReverse); |
| All times are GMT -5. The time now is 02:40. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi