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
Arduino with Javascript
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Mot
February 06, 2012
Technology
540
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Arduino with Javascript
Turning a light on and off using arduino and javascript.
Mot
February 06, 2012
Transcript
6 slides
Arduino with Javascript Turning a light on and off using
arduino and javascript. Monday, February 6, 2012
Requirements • An Arduino board • Arduino software installed to
your machine • node.js and npm installed to your machine Monday, February 6, 2012
Upload du.ino • https://gist.github.com/1756810 • Upload the above du.ino sketch
to your Arduino board. It is written in C++ and will live on the board. Monday, February 6, 2012
duino_example.js • Create a file named duino_example.js somewhere on your
machine. • Paste the following gist: https:// gist.github.com/1756829 • npm install serialport • node duino_example.js Monday, February 6, 2012
duino_express.js • Create a file named duino_express.js somewhere on your
machine. • Paste the following gist: https:// gist.github.com/1756868 • npm install express • node duino_express.js • Visit http://localhost:3000 Monday, February 6, 2012
Next Steps • Visit https://github.com/scottmotte/ arduino_with_javascript • Visit https://github.com/ecto/duino to
learn more. • Visit https://github.com/voodootikigod/node- serialport • If you have trouble on your Arduino try adjusting the baud_rate defined in du.ino. I changed mine to 9600 in du.ino. Monday, February 6, 2012
More Decks by Mot
See All by Mot
OSS Capital + Dotenv
motdotla
0
110
Airplane + Dotenv
motdotla
0
75
Sponsor Dotenv
motdotla
0
49
Dotenv + Netlify
motdotla
0
45
Dotenv + Auth0
motdotla
0
47
Dotenv + WorkOS
motdotla
0
110
Dotenv + Mux
motdotla
0
54
Dotenv + Strapi
motdotla
0
89
Dotenv + Sizzy
motdotla
0
41
Other Decks in Technology
See All in Technology
落とし穴にハマってわかった 開発生産性を測るときに気をつけたいこと
munakata
3
490
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
120
社内アプリ基盤「Quartz」による、 非エンジニアとAIに本番デプロイを 任せても壊れないプラットフォームの設計
staka121
PRO
1
210
飯から始まるデータエンジニア
sansantech
PRO
0
130
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
2
130
おうち環境でも「なるべく止めたくない!」 ― おうち環境の機器冗長化の理想と現実
yuutosi
1
640
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
480
Kubernetes, Agones, WebRTC, GPU で作る クラウドゲーミング基盤を本番運用に乗せるまで
vivion
0
270
Taking back control of your AI development
inesmontani
PRO
0
310
セキュリティチームは どのコンテナイメージの脆弱性対応を優先すべきか 〜CISA新指針とSCCで作る脆弱性トリアージ〜
swdtkuy
0
300
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
510
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
247
13k
Facilitating Awesome Meetings
lara
57
7.2k
Statistics for Hackers
jakevdp
799
230k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
580
Well, that’s weird…
csswizardry
1
190
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
620
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.5k
Deep Space Network (abreviated)
tonyrice
0
430
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
840
Raft: Consensus for Rubyists
vanstee
143
7.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k