Log in

View Full Version : How do I program with an Andymark AM-2314?


VersionTwo
05-03-2016, 11:29
We are trying to use an AM-2314, but cannot find the API for it. Does anyone know where the API is, or at least how to implement the code for it?

-ayy

rich2202
05-03-2016, 14:10
Did you look for accelerometer, and gyro functions? I seem to recall those being in wpilib. There is not a 2314 lib

Ether
05-03-2016, 14:43
We are trying to use an AM-2314... Does anyone know ... how to implement the code for it?

You might try contacting this person:

I'm trying to use the ITG3200 gyro on the AndyMark breakout board (am-2314). I translated some code I found from Java... The gyro works in Java using the original

pblankenbaker
05-03-2016, 19:59
We have some Java source code available for the ITG-3200 using an I2C chip out at github that you are welcome to experiment with:

https://github.com/frc868/frc868-lib/tree/master/src/com/techhounds/lib/sensors

It might work with gyro portion of the AM-2134, but we have not tried it.

You would need both the GyroAdapter.java and ITG3200.java source files. The basic usage is described in the class javadoc (basically you create an instance and then use one of the getGryoX(), getGryoY or getGyroZ() methods for each axis you want to monitor).