Thread
:
no suitable constructor found error?
View Single Post
#
2
06-02-2012, 08:34
notmattlythgoe
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,722
Re: no suitable constructor found error?
It needs a channel number, wherever it is plugged in.
public static Accelerometer Accelerometer = new Accelerometer(1);
Here is a link to the Javadoc for it.
http://www.wbrobotics.com/javadoc/ed...lerometer.html
notmattlythgoe
View Public Profile
Find all posts by notmattlythgoe
Find CD-Media Photos by notmattlythgoe
Find CD-Media Papers by notmattlythgoe