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
Arduino with Javascript
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mot
February 06, 2012
Technology
2
520
Arduino with Javascript
Turning a light on and off using arduino and javascript.
Mot
February 06, 2012
Tweet
Share
More Decks by Mot
See All by Mot
OSS Capital + Dotenv
motdotla
0
85
Airplane + Dotenv
motdotla
0
60
Sponsor Dotenv
motdotla
0
34
Dotenv + Netlify
motdotla
0
30
Dotenv + Auth0
motdotla
0
36
Dotenv + WorkOS
motdotla
0
57
Dotenv + Mux
motdotla
0
31
Dotenv + Strapi
motdotla
0
66
Dotenv + Sizzy
motdotla
0
25
Other Decks in Technology
See All in Technology
非情報系研究者へ送る Transformer入門
rishiyama
11
7.4k
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
180
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
5
2.6k
楽しく学ぼう!コミュニティ入門 AWSと人が つむいできたストーリー
hiroramos4
PRO
1
190
Kubernetesにおける推論基盤
ry
1
360
8万デプロイ
iwamot
PRO
2
240
複数クラスタ運用と検索の高度化:ビズリーチにおけるElastic活用事例 / ElasticON Tokyo2026
visional_engineering_and_design
0
140
[JAWSDAYS2026]Who is responsible for IAM
mizukibbb
0
540
アーキテクチャモダナイゼーションを実現する組織
satohjohn
0
590
わからなくて良いなら、わからなきゃだめなの?
kotaoue
1
320
us-east-1 に障害が起きた時に、 ap-northeast-1 にどんな影響があるか 説明できるようになろう!
miu_crescent
PRO
13
4.3k
AWSの資格って役に立つの?
tk3fftk
1
320
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7k
Making Projects Easy
brettharned
120
6.6k
GitHub's CSS Performance
jonrohan
1032
470k
[SF Ruby Conf 2025] Rails X
palkan
2
830
Designing for Timeless Needs
cassininazir
0
160
Bash Introduction
62gerente
615
210k
WENDY [Excerpt]
tessaabrams
9
36k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
170
Color Theory Basics | Prateek | Gurzu
gurzu
0
250
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
The untapped power of vector embeddings
frankvandijk
2
1.6k
Transcript
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