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

January 13, 2026, 10:55:52 PM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
1567 Guests, 0 Users
Members
Stats
  • Total Posts: 59,788
  • Total Topics: 7,895
  • Online today: 1,956
  • Online ever: 1,956
  • (Today at 10:53:05 PM)
Users Online
Users: 0
Guests: 1567
Total: 1567

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 1 Guest 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