Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. void loop(){
  2. for(int i = 0; i<100; i++){
  3. Value[i] = analogRead(A0);
  4. delayMicroseconds(62);
  5. }
  6. //delay(2) //when I use this line esp8266 work properly
  7. Udp.beginPacket(IP, Port);
  8. Udp.write(Value, 100);
  9. Udp.endPacket();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement