Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Use File->Load Prog to
- load a different Program
- */
- float y = -1;
- int x;
- int time,time2;
- void setup()
- {
- Serial.begin(9600);
- }
- void loop()
- {
- time = micros();
- Serial.println(analogRead(A3)*5.0/1023);
- time2 = micros();
- Serial.println(time2-time);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement