#include <SoftwareSerial.h>
int ADvalue = 0;
const byte pinOdesilani = 0;
SoftwareSerial mySerial(5, 4);

void setup() {
mySerial.begin(9600);
pinMode(0, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, INPUT);
pinMode(1, INPUT);
digitalWrite(pinOdesilani, LOW);
delay(100);
}

void loop() {
ADvalue = analogRead(3);
digitalWrite(pinOdesilani, HIGH);
mySerial.println(ADvalue);
delayMicroseconds(2500);
digitalWrite(pinOdesilani, LOW);
delay(50);
}