Aprendiendo a programar el Raspberry PI PICO con MicroPython
---- Materiales ----
Tienda donde Compre los Materiales: http://dinastiatecnologica.com/produc...
----Programa -----
from machine import Pin,
import time
led_2 = Pin(2,Pin.OUT)
led_25 = Pin(25,Pin.OUT)
bot_1 = Pin(14,Pin.IN,Pin.PULL_UP)
while True:
if(bot_1.value() == 1):
led_2.value(1)
led_25.value(1)
time.sleep(0.5)
led_2.value(0)
led_25.value(0)
time.sleep(0.5)
else:
led_2.value(0)
led_25.value(0)
--- Apoya esta labor educativa ----
Patrocinar mi Canal: / @elprofegarcia
Invítale un café al Profe: https://www.paypal.com/cgi-bin/webscr...
Sea parte de mis videos: / elprofegarcia
------- Suscribirse al canal -------
Suscribirse al canal: http://www.youtube.com/user/elprofega...
--- SIGAME EN REDES SOCIALES ----
Pagina oficial: http://elprofegarcia.com
Facebook: / elprofe.garcia
Twitter: / el_profe_garcia
Instagram: / el_profe_garcia
Blog: http://elprofegarcia.com
Google+ : https://plus.google.com/+Elprofegarci...
#raspberry #pico #pipico #raspberripico #Proyecto #Electronica #elprofegarcia #arduprofe #diy #comohacer #robotica
#mecatronica #programacion #curso #tutorial