, ? . ?
4X4, .
". , , .
, , ' , .
2.93 , .
, .
, , , , .
: 13 " , 4 " .
int sensorPin = A0; // select the input pin for the potentiometer
int ledPin = 2; // select the pin for the LED
int sensorValue = 0; // variable to store the value coming from the sensor
void setup() {
Serial.begin(9600);
// declare the ledPin as an OUTPUT:
pinMode(ledPin, OUTPUT);
}
void loop() {
// read the value from the sensor:
sensorValue = analogRead(sensorPin);
Serial.println( sensorValue);
// turn the ledPin on
if (sensorValue < 570) {
digitalWrite(ledPin, HIGH);
}
if (sensorValue > 630) {
digitalWrite(ledPin, LOW);
}
}
- - - Updated - - -
A0
D2
!
( ) ?
, , , .
.
, , .
- , .
4A6565706F6C6F672C2062657374206F6666726F 6164206D6167617A696E652073696E6365203230 3031
?
... .
gsm shield , , . , , ( ... ) .
4A6565706F6C6F672C2062657374206F6666726F 6164206D6167617A696E652073696E6365203230 3031
. prepaid . , , . .
gsm shield 120 ". .
4A6565706F6C6F672C2062657374206F6666726F 6164206D6167617A696E652073696E6365203230 3031
, .
, , .
. .
- .
, , , , , :
, . CDI .
,/ ,
4A6565706F6C6F672C2062657374206F6666726F 6164206D6167617A696E652073696E6365203230 3031
... . 32. ( ) .
MIL.
.
.
.
ip65 or mil-810