|
Re: Programming a Potentiometer
The link from the post above is to the java api (application programming interface). It lists the various ways to construct an object and the methods supported by the class. If you google "java FRC api", you can find many sites with the full api ( here).
The AnalogChannel class in particular is, I believe, a class that allows you to gather values from any generic sensor that provides analog input (e.g. a gyro or a potentiometer).
__________________
2014 Las Vegas (Winners with 987, 2478; Excellence in Engineering)
2014 San Diego (Finalists with 987, 3250; Quality Award)
2013 Inland Empire (Winners with 1538, 968; Excellence in Engineering Award)
2013 San Diego (Finalists with 2984, 4322; Creativity Award)
2012 Las Vegas (Finalists with 2034, 3187; Quality Award)
Last edited by mmaunu : 05-02-2014 at 23:45.
Reason: Fixed hyperlink.
|