1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Raspberry Pi Pico 2事始め2~MicroPythonでLチカ~

Posted at

Raspberry Pi Pico 2事始め の続きです。
Raspberry Pi Pico 2を MicroPython で使ってみましょう。

Thonnyのインストール

Thonnyダウンロード します。

imaimage.png Install for all usersを選択しました。 ge.png
Install for all users をクリックします。
image.png
Next をクリックします。
image.png
Next をクリックします。
image.png
Next をクリックします。
image.png
Next をクリックします。
image.png
Next をクリックします。
image.png
Install をクリックします。
image.png
image.png
Finish をクリックします。
image.png

サンプルプログラム

Github から サンプルプログラム をダウンロードしておきます。
https://github.com/raspberrypi/pico-micropython-examples/blob/master/blink/blink.py
image.png

Thonnyの起動

Thonny を起動します。
起動時日本語 を選択します。今回はSimpleモードにしました。
image.png
開く をクリックします。
image.png
開きたいプログラムファイルを選択します。
image.png

MicroPythonのインストール

MicroPython環境インストール します。
右下をクリックし MicroPythonをインストールクリック します。
image.png
Raspberry Pi Pico2 を選択し、 インストールクリック します。
image.png
今回エラーが出てしまいました。
URLから UF2ファイルダウンロード します。

image.png
CPUArmRisc-V が選択できます。
どちらかを選択してダウンロードします。
image.png
ダウンロードした UF2ファイルRaspberryPi Pico のフォルダに ドラッグ&ドロップ します。
image.png
続いて右下の接続先を MicroPython RaspberryPi Pico にします。
image.png
実行ボタン を押します。
image.png
Raspberry Pi Pico2LED が点滅します。
image.png
以上でRaspberry Pi Pico2のLチカができました。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?