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
210
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
8.1k
現場のエンジニアから見た採用担当との協働
corocn
7
3.2k
シリーズAをリファラル採用中心に走り抜ける / leaner-referral-engineer-2024
corocn
4
2.5k
捨てて加速するプロダクト開発 / sutete-speedup-product-development
corocn
4
810
リファラル採用にフルベットしてみた
corocn
4
4.1k
エンジニアとプロダクトマネージャーを兼任した1年間を振り返る / pdm-furikaeri
corocn
17
8.4k
育休のすゝめ #devsumi 2023
corocn
3
5.5k
GCPでRubyを動かしている話 / ruby on gcp
corocn
0
1.1k
フルリモートワーカーのデスク選定 / how-to-select-remote-work-desk
corocn
1
690
Featured
See All Featured
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
420
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
Into the Great Unknown - MozCon
thekraken
41
2.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
470
Game over? The fight for quality and originality in the time of robots
wayneb77
1
240
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
270
The Art of Programming - Codeland 2020
erikaheidi
57
14k
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チカできた
まとめ - モノ動くの楽しい - 子供とプラレール動かしたい