|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Does anyone know how to ues gyro in Java
Hi guys,
This is the first time our team decide to use gyro and we got this months ago: http://firstchoicebyandymark.com/fc16-115. However, we are still struggling finding useful resources for java using that board. Does anyone know how to program that thing? Thanks! |
|
#2
|
|||
|
|||
|
Re: Does anyone know how to ues gyro in Java
Analog Devices has all you need in their github repository. You can see how to use it with this example. When you integrate it into your code, you will need this file.
|
|
#4
|
|||
|
|||
|
Re: Does anyone know how to ues gyro in Java
I know that it says this in the resources posted above, but I want to make sure to draw your attention to the fact that the gyro must be plugged into analog ports 0 or 1 or else it will not work. Our team failed to notice it at first and it caused us a lot of trouble.
|
|
#5
|
|||
|
|||
|
Re: Does anyone know how to ues gyro in Java
Quote:
|
|
#6
|
||||||
|
||||||
|
Re: Does anyone know how to ues gyro in Java
Quote:
It will only function on A0 and A1. |
|
#7
|
|||
|
|||
|
Re: Does anyone know how to ues gyro in Java
We missed that in the documentation. We just luck out that we always used A0. Is this true for other devices? We have been trying without success to use a analog Ultrasonic on A5 in the MXP. Could explain a lot.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|