void setup() {
Serial.begin(9600);
pinMode(6,OUTPUT);
}
void loop() { int a = analogRead(A0);
int b = a/2.2;
Serial.println(b);
analogWrite(6,b);