** çҹ繤Դ繢ͧ¹ͧ 觼ҹ繵ͧ繴令Ѻ
ҡ բʹ ;ͤ ԡ سѧ¹¤Ѻ ӡ䢢
١ͧ Ѻ
Ѻ˹ѡ
 

AVR Arduino ͹ Arduino

㹵͹ǼǶ֧ͧػó͹ŧ¹ 㹺͹Ƕ֧ Arduino ѹѺ


Arduino


ͷӡԴҨ˹ҵҴѧٻѺ ҨҴٷӤѭѹѺҹúҧ



Ѵ Ẻҿԡ


ѴẺҿԡʴٻҾٷ ѭѡɳ´ѧѺ
1 Verify 㹡õǨͺ١ͧͧ¹
2 Stop ش÷ӧҹͧ Terminal
3 New ҧҹҧ project
4 Open Դ
5 Save ѹ֡ҹ
6 Upload to I/O Board ѴҡѺ 촷ͧ
7 Serial Monitor 鷴ͺѺ-觢


ҧҹ
觷ͧѹѺá㹡¹͡ҷ code С˹ ( ͧҹ) Arduino 㹵С˹ Ҿ繪 sketch_may25a ҵͧêʹѧǡö ҡͧ¹ö¡ҧҹ 觷ѧ


С˹

价 File > New ˹ҵҧ


ҧҹ




˹ҵҧҹ


˹ҵҧӡ save 价 File > Save ǵ駪 Folder ͧ ( 㹵͹е駪 test1)


save ҹ



ҹ test1


¹
ͷӡá˹ 红ͧ code ҡҷӡ¹¹ǹͧ Text Edit ǹ 2 ǹ ǹ¹ǹʴš÷ӧҹ


ʴǹ¹ code ǹʴš÷ӧҹ



ͷӡ¹ͧҨҷӡ ʹ code ¹¹Դѡ ǹö¡ҹ价 Sketch > Verify \ compile (Ctrl+R) Ǵټš÷ӧҹ


¡ҹǹä

ôټš÷ӧҹöǹ´ѧ


¹ code ١ѡҡó ҹ



¹ code ١ѡҡó ҹ


˹ ҹС˹õԴ͡Ѻ
͹зӡѴҡѺ촷ͧҵͧӡ͡çѺҹ ( IC ç) ö˹ѧ 价 Tool >Board ҡ͡çѺ蹷ҹ (繵ͧ͹㹵ҧ)


á˹촷㹡÷ͧç


͡˹˹ port 㹡õԴ 觡˹ѧ 价 Tool >serial ҡ͡ port 㹡õԴ ( Arduino зẺ port ͹ء Ẻ USB ŧ USB )


á˹


Ѵŧ㹺촷ͧ
¹ code ˹ǹҧǨзӡѴ code ŧ㹺촷ͧ upload ѧٻ


upload


ӡ upload ǡöټš÷ӧҹͧǧ÷͡ẺǤѺ

㹵͹仨Ƕ֧¹ code ẺѺ


¹ 26 .. 2554