View Single Post
  #3   Spotlight this post!  
Unread 01-03-2013, 22:50
arun4444 arun4444 is offline
Registered User
FRC #3760
 
Join Date: Jan 2013
Location: Bronx
Posts: 26
arun4444 has a little shameless behaviour in the past
Re: Encoder Problem.

Changed code to :

Code:
    public void disabled() {
        Encoder TestEnc = new Encoder(2, 1);
        TestEnc.reset();
        TestEnc.start();        
        for (;;) {
            System.out.println(TestEnc.get());
            Timer.delay(1);
        }
    }
still same result