Где искать: по сайтам Запорожской области, статьи, видео ролики
пример: покупка автомобиля в Запорожье
▶️ Suscríbete a nuestro canal aquí: https://bit.ly/subcctmexico
???? ???? ¡Te agradecemos mucho tu like, si el vídeo te fue de utilidad!
Antes de prender un LED con el botón push, revisamos con dos códigos que funcionen correctamente las conexiones y el mismo botón, aquí te mostramos paso a paso cómo hacer las conexiones.
Esperamos que este vídeo te sea de utilidad, no olvides dejarnos tus comentarios, nos dará mucho gusto saludarte.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
???? Revisa la sección de comunidad de nuestro canal:
https://www.youtube.com/channel/UCvJpU1VFBMX3rPdCYt10QZw/community
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
???? Links que mencionamos en el vídeo:
Páginas que usamos como base:
https://www.hackster.io/Ramji_Patel/raspberry-pi-pico-and-button-321059
https://electrocredible.com/raspberry-pi-pico-external-interrupts-button-micropython/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
????️ Códigos:
from machine import Pin
import time
button = Pin(5, Pin.IN, Pin.PULL_UP)
while True:
if button.value() == 0:
print(“Botón presionado”)
else:
print(“Botón no presionado”)
time.sleep(0.1)
from machine import Pin
contador=0
pin = Pin(5, Pin.IN, Pin.PULL_UP)
while True:
if pin.value()==0:
print(“Botón presionado”)
contador+=1
#contador = contador+1
print(“Cuenta={}”.format(contador))
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
⏰ Por si tienen prisa, el minuto a minuto del vídeo
00:00 Introducción
00:38 Conexiones en el protobard
03:52 Código 1
06:56 Código 2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
????️ Otros vídeos que pueden ser de utilidad:
???? Nuestra lista de reproducción de Arduino con Python
https://youtube.com/playlist?list=PLgHCrivozIb3-sDECgcR7wD9-eZ38kaBg
???? Nuestra lista de reproducción de Pandas en Python
https://www.youtube.com/watch?v=JJ7BMoQotEY&list=PLgHCrivozIb0ULMKfJVV-rFdRG2OeEgfq
???? Nuestra lista de reproducción de Machine Learning en Python
https://www.youtube.com/watch?v=b4zmSqB9npI&list=PLgHCrivozIb0HQ9oPRLVqw5scdIG-AxQL
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
???? Música
Everglow
Patrick Patrikios
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
???? Hashtags
#RaspberryPiPico #create #Learning #RaspberryPiPicoEnEspañol