Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const int analogInPin = A0; // acá entra la salia del potenciometro
- int sensorValue = 0; //
- unsigned long time;
- void setup() {
- Serial.begin(9600);
- }
- void loop() {
- sensorValue = analogRead(analogInPin);
- time = micros();
- Serial.print(time);
- Serial.print("");
- Serial.println(sensorValue)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement