This is where you talk about the NXJ hardware related topics such as the brick, sensors, LEGO pieces, etc
Moderators: roger, 99jonathan, imaqine
by Ambiorix » Thu Apr 01, 2010 1:12 pm
Hey everyone,
i'm doing a project for school and am using the IR seeker v2. I've noticed that there is a lot of interference from sunlight for example. I've also read that there are 2 modes, AC and DC. But i find it impossible to find any information on how to change this mode in LeJOS.
Could you help me?
-
Ambiorix
- New User
-
- Posts: 1
- Joined: Thu Apr 01, 2010 1:09 pm
by Shawn » Sun Apr 11, 2010 10:29 pm
Hi,
Sorry for the late response:
- Code: Select all
public IRSeekerV2(I2CPort port, Mode mode)
{
super(port, I2CPort.STANDARD_MODE);
setMode(mode);
setAddress(address);
}
So just use one of these in the constructor
- Code: Select all
AC, DC
Never used it but that's from the src in svn.
-

Shawn
- Advanced Member
-
- Posts: 723
- Joined: Wed Sep 12, 2007 4:59 am
- Location: Tokyo
Return to NXJ Hardware
Who is online
Users browsing this forum: Google [Bot] and 1 guest