Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PicoRubyでLチカ
Search
Takahiro Tsuchiya
September 22, 2025
170
0
Share
PicoRubyでLチカ
LEDとLCDをチカチカさせたぞい
Takahiro Tsuchiya
September 22, 2025
More Decks by Takahiro Tsuchiya
See All by Takahiro Tsuchiya
Kaigi on Rails 2024 - Rails APIモードのためのシンプルで効果的なCSRF対策 / kaigionrails-2024-csrf
corocn
13
8k
現場のエンジニアから見た採用担当との協働
corocn
7
3.2k
シリーズAをリファラル採用中心に走り抜ける / leaner-referral-engineer-2024
corocn
4
2.4k
捨てて加速するプロダクト開発 / sutete-speedup-product-development
corocn
4
780
リファラル採用にフルベットしてみた
corocn
4
4k
エンジニアとプロダクトマネージャーを兼任した1年間を振り返る / pdm-furikaeri
corocn
17
8.3k
育休のすゝめ #devsumi 2023
corocn
3
5.4k
GCPでRubyを動かしている話 / ruby on gcp
corocn
0
1k
フルリモートワーカーのデスク選定 / how-to-select-remote-work-desk
corocn
1
680
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Six Lessons from altMBA
skipperchong
29
4.2k
For a Future-Friendly Web
brad_frost
183
10k
Crafting Experiences
bethany
1
150
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.7k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
500
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
280
Transcript
PicoRubyでLチカ 2025-09-22 @corocn #orestudy
@corocn - ころちゃん - 岐阜 - Ruby 歴8年ぐらい - PicoRuby歴
半日
PicoRuby - Rubyの組み込み向け軽量実装 mruby/c がベース - https://github.com/picoruby/picoruby
Lチカ - LEDをチカチカさせること
ながらRuby会議 01 https://tech.smarthr.jp/entry/2025/09/19/172254
流行ってる - 楽しそう! - 組み込み何も分からん!
やさしい世界
買った
無印がおすすめらしい - Raspberry Pi Pico - Raspberry Pi Pico W
(W = WiFi内蔵) これ買った - Raspberry Pi Pico2
R2P2 を入れる - Raspberry Pi Pico用のビルドセット - irb (インタプリタ)や便利コマンドが入ってる -
https://github.com/picoruby/R2P2/releases
USB経由で初期化 - USBで繋ぐ - UF2のファイルをコピー - いきなり初期化が走る(ビビる)
いざ起動 - USBで繋ぐ - ls -1 /dev/tty.usb* - screen /dev/tty.usbmodem123456
- irb
デモ
LCDも購入 - 電源ついた - 制御むずい - I2C - 初期化シーケンス -
バックライトでLチカできた
まとめ - モノ動くの楽しい - 子供とプラレール動かしたい