Skip to content

Pin Stays On After Changing Code #4944

@LedbetterAlex

Description

@LedbetterAlex

Firmware

Adafruit CircuitPython 6.3.0 on 2021-06-01; Teensy 4.0 with IMXRT1062DVJ6A

Code/REPL

import board, digitalio
led = digitalio.DigitalInOut(board.D13)
led.direction = digitalio.Direction.OUTPUT
led.value = True

Behavior

N/A

Description

Obviously the code runs fine, and turns on the on-board LED. However, I also have an LED wired up to pin D11, and when I switch D13 out for D11 in the code and hit save, the on-board LED stays on (i.e. the pin voltage stays high when it should reset to zero after the new code no longer uses the pin). If I then unplug and plug in my board again, the on-board LED is now off like it should be. The same happens in reverse.

Seems to me like the pin voltages should reset to 0 V after soft reset (reload).

A member of the Adafruit forums suggests it may be specific to iMX RT.

Additional Info

Just thanks!!! Really cool software.

-Alex

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmimxrt10xxiMX RT based boards such as Teensy 4.x

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy