Skip to content

Raspberry Pi Pico getting an One-Time-Programmable when using picosleep #1

@flashbtw

Description

@flashbtw

Firstly, I want to appreciate your work.

But now to my problem. When I have this code as main.py:

from machine import *
import picosleep

led = Pin(25, Pin.OUT)

def blink():
    led.toggle()

while True:
    picosleep.seconds(3)
    blink()

my Pico doesn't seem to be accessible when connecting it to the computer. So when I want to make changes to the program, I have to flash_nuke it in order to function.

Maybe this is my error, I'm just new to this subject :)
Anyways, any help would be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    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