|
Re: Basic Question
Thanks Tom. We understand the logic behind it but we don't actually know how to implement the trigger in easyC. If you could give us a dumbed down version that would be great.
if (trigger == CLOSED)
pwmXX = 200;
else
pwmXX = 127;
^^ What function block (those things at the left of the screen that you drag in), i.e. "OI to PWM" lets me do that. We know what you mean in logic but what type of variables should "trigger" be set to.
Our problem is our lack of experience with EasyC, not with the logic. We just don't know how to implement it into EasyC Pro.
Thanks a lot
|