Go to Post I personally hope they change the terrain of the playing field ... if only to "level" the playing field. - Daniel_LaFleur [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 11-02-2014, 18:11
graham.robots graham.robots is offline
Registered User
FRC #4024
 
Join Date: Feb 2013
Location: Florida
Posts: 5
graham.robots is an unknown quantity at this point
Re: How to use Axis Camera Servos in Java

//Declaration
Servo cameray = new Servo(7);

//Implementation
if (aButton.get() && !yButton.get())
{
//Tried both of these
//cameray.set(1);
cameray.setAngle(180);
}
else
{
//cameray.set(0);
cameray.setAngle(90);
}
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:33.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi