Guest User

Assignment 4 srhboo code

a guest
Dec 11th, 2020
41
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int head = A0;
  2. int knee1 = A1;
  3. int knee2 = A2;
  4. int knee3 = A3;
  5.  
  6. void setup()
  7. {
  8. Serial.begin(115200);
  9. }
  10.  
  11. void loop()
  12. {
  13. Serial.print(analogRead(head));
  14. Serial.print(" ");
  15. Serial.print(analogRead(knee1));
  16. Serial.print(" ");
  17. Serial.print(analogRead(knee2));
  18. Serial.print(" ");
  19. Serial.print(analogRead(knee3));
  20. Serial.println();
  21. delay(100);
  22. }
RAW Paste Data