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

Thread: Pin 30 not working on Teensy 3.2

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Posts
    1

    Pin 30 not working on Teensy 3.2

    So, I bought Teensy 3.2 and everything works fine except for pin 30. Digital write does nothing and analog read gives me values like anything isn't connected. Why is this a problem? Any help would be appreciated.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,309
    I can't say why it's not working for you, but I can confirm it does indeed work if you run this code and connect a LED+resistor.

    Code:
    void setup() {
      pinMode(30, OUTPUT);
    }
    
    void loop() {
      digitalWrite(30, HIGH);
      delay(1000);
      digitalWrite(30, LOW);
      delay(100);
    }
    The LED definitely does blink. Here's a photo.

    Click image for larger version. 

Name:	DSC_0571_web.jpg 
Views:	6 
Size:	147.2 KB 
ID:	17194

Posting Permissions

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