6. arduino.cc
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-
use hardware and software. It's intended for artists, designers, hobbyists, and anyone
interested in creating interactive objects or environments.
7. Hello physical world!
반짝 반짝 작은~ LED~
#eiePNLD1
dfn I_E 3
vi stpvi)
od eu(od
{
pnoePNLD OTU)
iMd(I_E, UPT;
}
vi lo(od
od opvi)
{
dgtlrt(I_E,HG)
iiaWiePNLD IH;
dly10)
ea(00;
dgtlrt(I_E,LW;
iiaWiePNLD O)
dly10)
ea(00;
}
8. What happed?
스케치를 C++ 코드로 변환
컴파일 avr-gcc
업로드 avrdude
12. pyserial
#/s/i/yhn
!urbnpto
ipr o
mot s
ipr ss
mot y
ipr sra
mot eil
ty
r:
srot=ssag[]
ePr y.rv1
srpe =ssag[]
eSed y.rv2
ecp:
xet
pit"sg:% pr sed%y.rv0
rn Uae s ot pe"ssag[]
ssei()
y.xt1
sr=sra.eilsrot srpe)
e eilSra(ePr, eSed
frln i sr
o ie n e:
pitln.ti(
rn iesrp)
srcoe)
e.ls(
19. Use it for your project, awesome
arscons를 clone 한 후 remote 를 변경:
$gtcoehts/gtu.o/upp/rcn aeoe
i ln tp:/ihbcmsaaaasos wsm
$c $
d _
$gtrmt rnm oii asos
i eoe eae rgn rcn
아두이노 스케치는 폴더 이름과 같아야 합니다:
$gtm asosioaeoeio
i v rcn.n wsm.n
$gtcmi - "nta cmi o aeoe
i omt m Iiil omt f wsm"
지금까지 문제가 없는지 확인:
$sos& sosula
cn & cn pod
20. Project awesome continue. add third-party library
아두이노 라이브러리를 git submodule로 연결하면 편리합니다. 예;
$gtsboueadhts/gtu.o/upp/run_irr_m68
i umdl d tp:/ihbcmsaaaadiolbayt13
lb/m68
ist13
GH에 프로젝트를 열고, 지금까지의 작업을 push 합니다:
$gtrmt adoii hts/gtu.o/o/wsm
i eoe d rgn tp:/ihbcmyuaeoe
$gtps oii - mse
i uh rgn u atr
편집기로 awesome.ino를 열어 awesome을 구현하세요.
21. Project awesome continue. build & upload
라이브러리 디렉터리를 지정해 빌드합니다.
$ETALBlb sosula
XR_I=is cn pod
현재까지의 작업으로 다음과 같은 디렉터리구조가 생겼습니다.
$te -
re d
.
├─bid
─ ul
│ ├─cr
─ oe
│ └─lb0
─ i_1
│ └─t13
─ m68
└─lb
─ is
└─t13
─ m68
22. Demo
Play LKM1638 module with Arscons
LKM1638, dx.com (http://dx.com/p/8x-digital-tube-8x-key-8x-double-color-led-module-81873)
tm1638-library (https://code.google.com/p/tm1638-library/)
24. More links and books (kor)
MAKE:Korea(http://www.make.co.kr/)
Making Insight (http://www.insightbook.co.kr/books/making-insight)
Make Magazine (kor) (http://www.make.co.kr/?page_id=1487)