Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
WebUSBでLチカしてみた
Search
mu2in
August 19, 2017
Programming
1.5k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WebUSBでLチカしてみた
USBデバイスとwebページを繋いでみた話
「フロントエンド夏祭り in 広島」での登壇資料です。
https://connpass.com/event/62200/
mu2in
August 19, 2017
More Decks by mu2in
See All by mu2in
スイッチ沼へようこそ / Welcome to the Key Switch Rabbit Hole
mu2in
0
260
Astroで サクッと作るWebサイト(仮) / Quickly create webpages with Astro
mu2in
1
350
CircuitPythonで動く自作キーボードの紹介 / Introducing Self-Made Keyboard from CircuitPython
mu2in
0
2.7k
スクリーンセーバーキラーを作ってみた / Making Mouse Jiggler with CircuitPython
mu2in
0
890
Pythonで始める自作キーボード入門 / Introduction to Self-Made Keyboard from Python
mu2in
1
2.4k
私のエンジニアライフHacks / my-engineer-lifehacks
mu2in
0
600
BadUSBを作ろう / how to make your own BadUSB and Keyboard
mu2in
0
510
PyCon mini Hiroshima 2018 でノベルティを作ってみた話/pycon-mini-hiroshima-2018-novelty
mu2in
1
1.7k
家に帰ると灼熱地獄なのをなんとかする/obniz-universal-remote-control
mu2in
0
1k
Other Decks in Programming
See All in Programming
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
2.9k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
0
170
Java 27新機能 / Java 27 new features
kishida
2
170
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
510
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1.8k
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
200
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
330
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1k
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
360
仕様駆動開発による爆速プロダクト開発 / Bakusoku Spec Driven Development
kobakei
0
130
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
260
Workers Cache を知る
syumai
0
210
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
410
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
480
It's Worth the Effort
3n
188
29k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
GraphQLとの向き合い方2022年版
quramy
50
15k
4 Signs Your Business is Dying
shpigford
187
23k
Designing Experiences People Love
moore
143
24k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
730
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
The Invisible Side of Design
smashingmag
301
52k
Deep Space Network (abreviated)
tonyrice
0
320
Transcript
8FC64#Ͱ-νΧͯ͠Έͨ ϑϩϯτΤϯυՆࡇΓJOౡ
‣ @mu2in ‣ JavaΤϯδχΞ3 ‣ ͖ͳϓϩάϥϛϯάݴޠɿJavaScript ‣ ࢀՃίϛϡχςΟ • Atlassian
User Group தࠃํ Ϧʔμʔ • ౡϑϩϯτΤϯυษڧձ • ͍͢͝ౡɹ…etc ࣗݾհ
WebUSBͱ ‣ webϖʔδ͔ΒUSBσόΠεʹ҆શͳΞΫηε Λఏڙ͢ΔͨΊͷAPI ▹ USBσόΠε͏ͱ͖ʹඞཁͳυϥΠόSDKΛΘ͟Θ͟ μϯϩʔυ͢Δඞཁ͕ͳ͘ͳΔ ▹ OS͝ͱʹҧ͍ͬͯͨυϥΠό͕ɺΫϩεϓϥοτϑΥʔϜ ͷJavaScript
SDKͰॻ͚ΔΑ͏ʹͳΔ ‣ 2໊ͷGoogleͷΤϯδχΞ͕த৺ͱͳͬͯࡦఆ ▹ ·ͩυϥϑτ൛ (2017-08-19ݱࡏ)
https://wicg.github.io/webusb/ WebUSBͱ
αϯϓϧΛࢼͯ͠ΈΔ https://github.com/webusb/arduino
1. Google Chrome ͷઃఆ ‣ ʮࢼݧӡ༻൛ͷΣϒϓϥοτϑΥʔϜͷػೳʯ Λ༗ޮʹ͢Δ
2. σόΠεʹWebUSBͷίʔυΛॻ͖ࠐΉ
‣ ࠓճ SSLূ໌ॻ͕͑Δ Firebase Λར༻ 3. ࣮ࡍʹૢ࡞Λߦ͏σϞϖʔδΛ༻ҙ͢Δ
࣮ࡍʹಈ͔ͯ͠ΈΔ
σϞͷ༷ࢠ
·ͱΊ ‣ WebUSBΛͬͯweb͔ΒLEDΛνΧνΧ͞ ͤΔ͜ͱ͕Ͱ͖ͨɻ ‣ υϥϑτ൛ͷػೳͰͲΜͲΜࢼͯ͠৽͍͠ webΛମݧ͠Α͏ɻ ‣ webϖʔδ͕ϋʔυΣΞΛखܰʹૢ࡞Ͱ͖ Δ࣌ʹ