Hello all, more java questions.
Working with the encoders, after wiring them up. I used the following code.
Quote:
public static Encoder left_encoder = new Encoder(6,7);
public static void encoder_print() {
System.out.println(left_encoder.get());
}
|
With all the necessary stuff between.
However it just prints a string of zeros.
Is there something wrong with the code or should I go check my wiring again?