Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy LC pin 10 digital Read

Hybrid View

  1. #1
    Junior Member
    Join Date
    Apr 2015

    Teensy LC pin 10 digital Read


    I'm having an issue with my Teensy LC. I'm using it for a Rotary Encoder. All the other pins i am using are working fine and i'm getting 0 and 1 values as i turn it. For pin 10 it's only printing 0. Any info on why it might not be reading properly?


  2. #2
    Senior Member+ manitou's Avatar
    Join Date
    Jan 2013
    please provide the sketch you are running and maybe a photo of your setup and which encoder are you using? (vendor/model) Do you have soldered headers?

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Quote Originally Posted by lordscruffo View Post
    Any info on why it might not be reading properly?
    Very likely a mistake was made somewhere. Maybe a physical wiring problem? Maybe on the software side? Nobody can even begin to guess when you don't show us the code and hardware (photos) you're actually using.

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    I saw that with an encoder recently - when I plugged on the wires I was shifted by one so only one pin was changing on rotation and it resulted in a 0 & 1 toggle in the displayed data. Check your wiring to be good with proper and pin association.

    If it isn't that - then code and a picture might show the issue.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts