bascom-komendy.pdf

(84 KB) Pobierz
http://republika.pl/atmel_avr/FirstSteps1.htm
FL JD %$6&20 DXWRU ;$;
6WURQD ]
%DV&RP .20(1'< YHU
E\ %DUWHN :·RFK ;$;
=0,(11(
',0 [ $6 \ UH]HUZXMH Z SDPL FL PLHMVFH QD ]PLHQQ [ L W\SLH \
W\S\ ]PLHQQ\FK
%,7 ELW SU]\MPXMH VWDQ ID·V] OXE SUDZGD
%<7( EDMW ELWyZ OLF]ED FD·NRZLWD EH] ]QDNX ] ]DNUHVX
,17(*(5 EDMW\ OLF]ED FD·NRZLWD ]H ]QDNLHP ] ]DNUHVX
:25' EDMW\ OLF]ED FD·NRZLWD EH] ]QDNX ] ]DNUHVX
/21* EDMW\ OLF]ED FD·NRZLWD ]H ]QDNLHP ] ]DNUHVX
6,1*/( EDMW\ Z %DVFRP MHVW WR WDNL VDP W\S MDN /21*
675,1* ·D FXFK ]QDNyZ QS QDSLV R G·XJR FL GR EDMWyZ RVWDWQL ]H
]QDNyZ
Z ·D FXFKX PD ]DZV]H NRG QDGDZDQ\ SU]H] NRPSLODWRU
7$%/,&(
',0 [ ] $6 \ UH]HUZXMH Z SDPL FL PLHMVFH QD WDEOLF [ R W\SLH \
L LOR FL HOHPHQWyZ ]
W\S\ ]PLHQQ\FK
%,7 ELW SU]\MPXMH VWDQ ID·V] OXE SUDZGD
%<7( EDMW ELWyZ OLF]ED FD·NRZLWD EH] ]QDNX ] ]DNUHVX
,17(*(5 EDMW\ OLF]ED FD·NRZLWD ]H ]QDNLHP ] ]DNUHVX
:25' EDMW\ OLF]ED FD·NRZLWD EH] ]QDNX ] ]DNUHVX
/21* EDMW\ OLF]ED FD·NRZLWD ]H ]QDNLHP ] ]DNUHVX
6,1*/( EDMW\ Z %DVFRP MHVW WR WDNL VDP W\S MDN /21*
675,1* ·D FXFK ]QDNyZ QS QDSLV R G·XJR FL GR EDMWyZ RVWDWQL ]H
]QDNyZ
Z ·D FXFKX PD ]DZV]H NRG QDGDZDQ\ SU]H] NRPSLODWRU
3U]\N·DG X * \FLD
',0 7DEHOD $6 %\WH
',0 =PLHQQD $6 %\WH
=PLHQQD 7DEHOD
..21),*85$&
5$&-$$ :< # :,(7/$$&=$$ /&'
&RQILJ /FG NROXPQ\ ZLHUV]H XVWDZLHQLH LOR FL NROXPQ L ZLHUV]\ GOD
Z\ ZLHWODF]D /&'
&RQILJ /FGSLQ 3LQ 'E SD 'E SE 'E SF 'E SG ( SH 5V SI
NRQILJXUDFMD OLQLL
ZHM FLD Z\M FLD
3U]\N·DG X * \FLD %DVFRP $95
KWWS UHSXEOLND SO DWPHOBDYU )LUVW6WHSV KWP
587158.003.png
FL JD %$6&20 DXWRU ;$;
6WURQD ]
&RQILJ /FG
&RQILJ /FGSLQ 3LQ 'E 3RUWD 'E 3RUWD 'E 3RUWD 'E 3RUWD
( 3RUWD 5V 3RUWD
'HIOFGFKDU .RG E E E E E E E E Z\V·DQLH GR Z\ ZLHWODF]D
GHILQLFML
]QDNX R QXPHU]H .RG RG GR E E EDMW\ GHILQLFML ZLHUV]\ ]QDNX
3U]\N·DG ]DVWRVRZDQLD %DVFRP $95
7DN W\SRZR Z\JO GD PDWU\FD ]QDNyZ QD HNUDQLH /&' =D]Z\F]DM
MHVW WR
PDWU\FD ZLHUV]\ SR SXQNFLNyZ 1D ]QDN ZS·\ZDM ELW\ RG
E E
E E PRJ PLH¸ ]XSH·QLH GRZROQ ZDUWR ¸ 3URJUDP /&'
'HVLJQHU GR
· F]RQ\ GR %DVFRP W·XPDF]\ QDU\VRZDQ\ ]QDN QD VHNZHQFM
EDMWyZ =QDN
] SU]\N·DGX RERN UHSUH]HQWRZDQ\ E G]LH SU]H] QDVW SXM F
GHILQLFM
'HIOFGFKDU
=QDN ]RVWDQLH Z\ ZLHWORQ\ SR Z\V·DQLX GR /&' NRGX
8:$*$ SR UR]ND]LH 'HIOFGFKDU QDOH * \ Z\NRQD¸ &OV F]\V]F]HQLH HNUDQX
3R]\FMRQRZDQLH NXUVRUD
833(5/,1( Z\ ZLHWO WHNVW Z SLHUZV]HM OLQL
/2:(5/,1( Z\ ZLHWO WHNVW Z GUXJLHM OLQL
7+,5'/,1( Z\ ZLHWO WHNVW Z WU]HFLHM OLQL
)2857+/,1( Z\ ZLHWO WHNVW Z F]ZDUWHM OLQL
/2&$7( [ \ [ L \ WR ZVSy·U] GQH PLHMVFD QD Z\ ZLHWODF]X JG]LH PD E\¸
Z\ ZLHWORQ\
WHNVW PDNV\PDOQ\ ]DNUHV RNUH ORQ\ MHVW Z &RQILJ /FG
:\ ZLHWODQLH
/&' QDSLV Z\ ZLHWOD WHNVW QDSLV QD Z\ ZLHWODF]X
/&' ]PLHQQD Z\ ZLHWOD ]DZDUWR ¸ ]PLHQQD
/&' &+5 NRG Z\ ZLHWOD ]GHILQLRZDQ\ ]QDN R QXPHU]H NRG
67(52:$1,( 3
( 3,1$0,
6(7 SRUW ELW XVWDZLHQLH OLQLL ELW SRUWX SRUW QD
5(6(7 SRUW ELW XVWDZLHQLH OLQLL ELW SRUWX SRUW QD
8ZDJD 'OD XN·DGyZ ] URG]LQ\ SRUW\ WR 3 3 3 'OD $95 3RUWD
3RUWE 3RUWF
1XPHU\ ELWyZ SRGDMH VL Z ]DNUHVLH
3257<< 0,.52352&(6255$
KWWS UHSXEOLND SO DWPHOBDYU )LUVW6WHSV KWP
67(
587158.004.png 587158.005.png
FL JD %$6&20 DXWRU ;$;
6WURQD ]
3[ OLF]ED [ WR QXPHU SRUWX GR SRUWX ]DSLV\ZDQ\ MHVW EDMW OLF]ED
]PLHQQD 3[ [ WR QXPHU SRUWX ] SRUWX RGF]\W\ZDQ\ MHVW EDMW L
]DSDPL W\ZDQ\
Z ]PLHQQD
3[ ELW [ WR QXPHU SRUWX ELW WR QXPHU ELWX SRUWX UR]ND] G]LD·D
MDN
6(7 JG\ OXE 5(6(7 JG\
]BELW 3[ ELW [ WR QXPHU SRUWX ELW WR QXPHU ELWX SRUWX UR]ND]
RGF]\WXMH VWDQ
OLQLL SRUWX 3[ ]BELW WR ]PLHQQD W\SX %,7
8ZDJD 'OD XN·DGyZ ] URG]LQ\ SRUW\ WR 3 3 3 'OD $95 3RUWD
3RUWE 3RUWF
23– - 1,(1,$
:$,706 [ RSy ( QLHQLH Z SUDF\ SURJUDPX [ SRGDMH VL Z PLOLVHNXQGDFK
:$,7 [ RSy ( QLHQLH Z SUDF\ SURJUDPX [ SRGDMH VL Z VHNXQGDFK
8ZDJD 'R SRSUDZQHM SUDF\ :$,7 L :$,706 QLH]E GQH MHVW XVWDZLHQLH &5<67$/
:$$581(.. ,))
7+(11
:DUXQHN SRMHG\QF]\
,) ZDUXQHN 7+(1
DNFMD
(1',)
:DUXQHN SRGZyMQ\
,) ZDUXQHN 7+(1
DNFMD
(/6(
DNFMD
(1',)
8ZDJD ZDUXQHN WR QDMF] FLHM SRUyZQDQLH GZyFK ]PLHQQ\FK OXE ]PLHQQHM L
VWD·HM
'OD SU]\N·DGX PR * H WR E\¸ ,) 3 7+(1 /&' /LQLD SRUWX 3 PD VWDQ +
0LHG]\ ,) D 7+(1 PR]QD VWRVRZDF NLOND DUJXPHQWRZ RGG]LHORQ\FK IXQNFMDPL
ORJLF]Q\PL
25 OXE DOER LQDF]HM VXPD ORJLF]QD $1' L OXE LORF]\Q ORJLF]Q\
3 7/(( ,, 6.2.,
'2
/223
KWWS UHSXEOLND SO DWPHOBDYU )LUVW6WHSV KWP
587158.006.png
FL JD %$6&20 DXWRU ;$;
6WURQD ]
S WOD QLHVNR F]RQD Z\NRQ\ZDQD EH] SU]HUZ\
'2
/223 817,/ ZDUXQHN
S WOD Z\NRQ\ZDQD GR PRPHQWX D * VSH·QLRQ\ ]RVWDQLH ZDUXQHN
)25 ]PLHQQD ZDUWR ¸ 72 JUDQLFD >67(3 ZDUWR ¸B @
1(;7 ]PLHQQD
S WOD Z\NRQ\ZDQD RG ZDUWR FL ZDUWR ¸ GR JUDQLFD 3U]\N·DG GOD
UR]MD QLHQLD
',0 , $V %\WH
)25 , 72
/&' ,
1(;7 ,
: SRZ\ * V]\P SU]\N·DG]LH NURN MHVW FR W]Q &R ]UREL¸ DE\
]PLHQL¸ NURN"
2GSRZLHG ( QD WR S\WDQLH SRQL * HM
',0 , $V %\WH 67(3
)25 , 72
/&' ,
1(;7 ,
*272 HW\NLHWD VNRN GR HW\NLHW\ ]GHILQLRZDQHM Z SURJUDPLH (W\NLHWD WR
SR SURVWX
QD]ZD ]DNR F]RQD V\PEROHP 3U]\N·DG
6WDUW
)25 , 72
,) , *272 6WDUW
1(;7 ,
*268% HW\NLHWD VNRN GR SRGSURJUDPX ] NWyUHJR SRZUyW GR PLHMVFD
Z\ZR·DQLD
)25 , ; 72
*268% 2EOLF]3RWHJH;
1(;7 ;
QDVW SXMH SR UR]ND]LH 5(7851 3U]\N·DG
2EOLF]3RWHJH;
3RW ; ;
5(7851
8ZDJD RSUyF] SRGSURJUDPX Z %DVFRP PR * QD UyZQLH * MDN Z ND * G\P SRZD * Q\P
M ]\NX
SURJUDPRZDQLD Z\ZR·\ZD¸ IXQNFMH L SURFHGXU\ SRGDM F LFK QD]Z
352&('855<
KWWS UHSXEOLND SO DWPHOBDYU )LUVW6WHSV KWP
587158.001.png
FL JD %$6&20 DXWRU ;$;
6WURQD ]
3RZUyW GR VWURQ\ J·yZQHM
KWWS UHSXEOLND SO DWPHOBDYU )LUVW6WHSV KWP
587158.002.png
Zgłoś jeśli naruszono regulamin