GoralWMoro

Untitled

Dec 9th, 2019
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #include "Timers.h"
  2. Timer pokazRaport;
  3.  
  4.  
  5. void raport()
  6. {
  7. Serial.println("Odczyt przyciskow ");
  8. Serial.print(I1);
  9. Serial.print(I2);
  10. Serial.print(I3);
  11. Serial.println();
  12. Serial.println("Odczyt sensorow ");
  13. Serial.print(I4);
  14. Serial.print(I5);
  15. Serial.print(I6);
  16. Serial.println();
  17. Serial.println("Odczyt stanów wewnetrznych ");
  18. Serial.print(M1);
  19. Serial.print(M2);
  20. Serial.print(M3);
  21. Serial.print(M4);
  22. Serial.println();
  23. Serial.println("Stany wyjscia ");
  24. Serial.print(Q1);
  25. Serial.print(Q2);
  26. Serial.println();
  27.  
  28. }
  29.  
  30. if(pokazRaport.available()){
  31. raport();
  32. pokazRaport.restart();
  33. }
Advertisement
Add Comment
Please, Sign In to add comment