Welcome to Cockpitbuilders.com. Please login or sign up.

March 26, 2026, 10:06:11 AM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
1712 Guests, 0 Users
Members
Stats
  • Total Posts: 59,809
  • Total Topics: 7,900
  • Online today: 1,893
  • Online ever: 2,919
  • (March 07, 2026, 06:00:15 AM)
Users Online
Users: 0
Guests: 1712
Total: 1712

COUNTDOWN TO WF2024


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

Teensy 3.1 encoder cts288 not working

Started by kurt-olsson, September 12, 2015, 06:51:26 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kurt-olsson

Hi. I have a problem with my teensy and encoder.
I have used the sampleprogram usb-flightsim navfrequency.
I tried the blinktransponder program and it worked.

My problem now is that my encoder dont send any values. I have tried lots of encoders. These worked on mu arduinocard. Not the same library (i used rotaryencoder.h) now i use encoder.h instead.

It is just a simple connection

Pin 5,6 input from the encoder and the middle cable is connected to the ground.

Am i missing something here?

Also, what power pin should i use for the 5v? In this circuit i dont even have power connected.

Nothing works, i am out of ideas?

kurt-olsson

#1
Solved it!

Putting this line at the beginning solved it:
#define ENCODER_DO_NOT_USE_INTERRUPTS


Like the Website ?
Support Cockpitbuilders.com and Click Below to Donate