Комментарии: Устранение проблем с программным обеспечением на Raspberry Pi https://picockpit.com/raspberry-pi/ru/%d1%83%d1%81%d1%82%d1%80%d0%b0%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc-%d1%81-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%bd%d1%8b%d0%bc-%d0%be%d0%b1%d0%b5/ Sat, 24 Feb 2024 22:28:52 +0000 почасовая 1 https://wordpress.org/?v=7.0 Автор: виктор забала https://picockpit.com/raspberry-pi/ru/%d1%83%d1%81%d1%82%d1%80%d0%b0%d0%bd%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc-%d1%81-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%bc%d0%bd%d1%8b%d0%bc-%d0%be%d0%b1%d0%b5/#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

]]>