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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
mu2in
August 19, 2017
Programming
1.6k
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
Transcript
11 slides
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ϖʔδ͕ϋʔυΣΞΛखܰʹૢ࡞Ͱ͖ Δ࣌ʹ
More Decks by mu2in
See All by mu2in
スイッチ沼へようこそ / Welcome to the Key Switch Rabbit Hole
mu2in
0
270
Astroで サクッと作るWebサイト(仮) / Quickly create webpages with Astro
mu2in
1
350
CircuitPythonで動く自作キーボードの紹介 / Introducing Self-Made Keyboard from CircuitPython
mu2in
0
2.8k
スクリーンセーバーキラーを作ってみた / Making Mouse Jiggler with CircuitPython
mu2in
0
900
Pythonで始める自作キーボード入門 / Introduction to Self-Made Keyboard from Python
mu2in
1
2.4k
私のエンジニアライフHacks / my-engineer-lifehacks
mu2in
0
610
BadUSBを作ろう / how to make your own BadUSB and Keyboard
mu2in
0
530
PyCon mini Hiroshima 2018 でノベルティを作ってみた話/pycon-mini-hiroshima-2018-novelty
mu2in
1
1.8k
家に帰ると灼熱地獄なのをなんとかする/obniz-universal-remote-control
mu2in
0
1k
Other Decks in Programming
See All in Programming
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
2
500
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
310
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
270
Zero-Tap Sign-In対応、結局何をすればいいの?
mitohato14
0
2.5k
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
220
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
390
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
170
AI-Powered Domain-Driven Design
ziobrando
0
470
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
200
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
170
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
140
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
640
Skip the Path - Find Your Career Trail
mkilby
1
290
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Making the Leap to Tech Lead
cromwellryan
135
10k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
400
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
820
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
330
Paper Plane
katiecoart
PRO
6
55k
Building Applications with DynamoDB
mza
96
7.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
330
Design in an AI World
tapps
1
390
Scaling GitHub
holman
464
140k