SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int sensC=A12;
  2. int sensA=A13;
  3. int sensB=A14;
  4. int sensD=A15;
  5.  
  6.  
  7. void setup() {
  8.   Serial.begin(9600);
  9.   Serial.println("CLEARDATA");
  10.   Serial.println("LABEL,A0-Voltage,B0-Voltage,C0-Voltage,D0-Voltage");
  11. }
  12.  
  13. void loop() {
  14.   Serial.print(analogRead(sensA));
  15.   Serial.print(",");
  16.   Serial.print(analogRead(sensB));
  17.   Serial.print(",");
  18.   Serial.print(analogRead(sensC));
  19.   Serial.print(",");
  20.   Serial.println(analogRead(sensD));
  21.   delay(1000);
  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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top