.


:




:

































 

 

 

 


/




analogRead()

analogWrite()

Serial

/ COM-

(COM-) RS-232. RS-232 (Recommended Standard 232) , .

, 60- 20 , .

RS-232 . COM- (Communication port).

, , , ( ).

: , , . 9‑ DE-9p VGA , 2010- .

Arduino (UART, USART). Serial / 0 (RX) 1 (TX). COM- RS-232 (12 ) Arduino (0..5 ). Arduino , COM- USB. , DE-9p, USB- .

Arduino (Serial monitor). Serial monitor (baud rate), begin().

 

. , (if goto). , . , , .

, .

goto. : .

. .

, .

if

if ( > b)z= a; elsez= b;

 

while (<>)< >

.

:

while (a[k] <i) k++;

do< >while (<>);

, . , , , .

:

do

{

i++;

}

while (i<30);

for (<>;<>;< >)< >

, , {... }.

:

for (i = 1; i < 10; i++)

{...

}





:


: 2016-11-12; !; : 398 |


:

:

.
==> ...

1646 - | 1453 -


© 2015-2024 lektsii.org - -

: 0.012 .