Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Raspberry pi pico 2w
60 min
Share

كيفية إعداد Raspberry Pi Pico 2W وبرمجته باستخدام Thonny IDE.

فيديو مفصل عن الراسبيرى باى بيكو 2wيشرح النقاط الاتية : • امكانيات لوحة راسبيرى باى بيكو 2w؟ • لغات البرمجة التى يمكن استخدامها مع لوحة راسبيرى باى بيكو 2w ؟ • الفرق بين لغة ميكروبايثون وسيركت بايثون ؟ • كيفية تثبيت ميكروبايثون على لوحة راسبيرى باى بيكو 2w ؟ • تثبيت برنامج Thonny IDE ؟ • تثبيت سيركت بايثون على لوحة راسبيرى باى بيكو 2w ؟

Project Video

Overview

Getting the Items

Raspberry Pi Pico 2 wireless
Get Item

Steps

Wiring it Up

Coding

الكود الأول هو كود لأضاءة واطفاء المصباح الموجود على اللوحة لمدة ثانية باستخدام ميكروبايثون, بينما الكود الثانى هو كود لأضاءة واطفاء المصباح الموجود على اللوحة لمدة نصف ثانية باستخدام سيركت بايثون.

'''

Voltaat Learn (http://learn.voltaat.com)

Link to the full tutorial:

Tutorial: How to Set Up and Program the Raspberry Pi Pico 2W Using Thonny IDE

This sketch blink the Raspberry Pi Pico 2W's internal LED using Micropython.

'''

from machine import Pin

import time

led = Pin("LED", Pin.OUT)  # في راسبيري باي بيكو W، "LED" هو المدمج

while True:

   led.value(1)  # تشغيل الـLED

   time.sleep(1)

   led.value(0)  # إيقاف الـLED

   time.sleep(1)

'''

Voltaat Learn (http://learn.voltaat.com)

Link to the full tutorial:

Tutorial: How to Set Up and Program the Raspberry Pi Pico 2W Using Thonny IDE

This sketch demonstrates how to blink the Raspberry Pi Pico 2W's internal LED using CircuitPython.

'''

import board

import digitalio

import time

led = digitalio.DigitalInOut(board.LED)  # يستخدم LED المدمج (GPIO 25)

led.direction = digitalio.Direction.OUTPUT

while True:

   led.value = True   # تشغيل LED

   time.sleep(0.5)    # الانتظار 0.5 ثانية

   led.value = False  # إيقاف LED

   time.sleep(0.5)

Testing it Out

Resources

No items found.