SHARE
TWEET

Untitled

a guest Feb 27th, 2020 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. /* Use File->Load Prog to
  3.    load a different Program
  4. */
  5.  
  6.  
  7. float y = -1;
  8. int x;
  9. int time,time2;
  10. void setup()
  11. {
  12.     Serial.begin(9600);
  13.    
  14. }
  15.  
  16. void loop()
  17. {
  18.     time = micros();
  19.     Serial.println(analogRead(A3)*5.0/1023);
  20.     time2 = micros();
  21.     Serial.println(time2-time);
  22. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top