Go to Post just want a picutre of my "CD idols" - Ryan Albright [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-11-2014, 06:11 PM
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
Reply


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 07:33 AM.

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