Kommentare zu: Fehlerbehebung bei Softwareproblemen auf dem Raspberry Pi https://picockpit.com/raspberry-pi/de/behebung-von-softwareproblemen-auf-dem-raspberry-pi/ Sat, 24 Feb 2024 22:28:52 +0000 stündlich 1 https://wordpress.org/?v=7.0 Von: victor zabala https://picockpit.com/raspberry-pi/de/behebung-von-softwareproblemen-auf-dem-raspberry-pi/#comment-18595 Sat, 24 Feb 2024 22:28:52 +0000 https://picockpit.com/raspberry-pi/?p=6855#comment-18595 señores, cordila saludo, su ayuda para solucionar problema con la ejecucion de comandos para una raspberry pi pico w, en la shell me sale: MPY: soft reboot.
Antes había escrito varios programas y funcionaba bien. Pero ya no funciona , ni siquiera para este sencillo ejemplo del led de parpadeo:
rom machine import Pin
import time

led = Pin(25, Pin.OUT) # Pico LED
#led = Pin(“LED”, Pin.OUT) # Pico W LED

try:
while True:
led.value(1) # Set led turn on
time.sleep(0.5) # Sleep 0.5s
led.value(0) # Set led turn off
time.sleep(0.5) # Sleep 0.5s
except:
pass

]]>