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

May 07, 2024, 01:35:14 AM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
386 Guests, 0 Users
Members
Stats
  • Total Posts: 59,641
  • Total Topics: 7,853
  • Online today: 392
  • Online ever: 831
  • (May 03, 2024, 12:39:25 PM)
Users Online
Users: 0
Guests: 386
Total: 386

COUNTDOWN TO WF2022


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