Need help with Toyota's .NET toolkit

Posted by AngryHacker on Stack Overflow See other posts from Stack Overflow or by AngryHacker
Published on 2010-04-01T07:13:03Z Indexed on 2010/04/01 7:23 UTC
Read the original article Hit count: 313

Filed under:
|
|
|

I can't make the following code work. It seems to do nothing.

var cntrl = new Toyota.CarControl();
while (cntrl.Speed > 0)
{
   cntrl.ReduceSpeedBy(5);
   Thread.Sleep(1000);
}

What am I doing wrong?

© Stack Overflow or respective owner

Related posts about c#

Related posts about toyota