|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
no suitable constructor found error?
Ok so i'm coding the Accelerometer, and in my commandbase i have
Code:
public static Accelerometer Accelerometer = new Accelerometer(); any help would be appreciated, thanks. |
|
#2
|
|||||
|
|||||
|
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 |
|
#3
|
|||
|
|||
|
Re: no suitable constructor found error?
ok that worked, thanks!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|