Advertisement
pleasedontcode

Scanner rev_99

Nov 2nd, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /********* Pleasedontcode.com **********
  2.  
  3.     Pleasedontcode thanks you for automatic code generation! Enjoy your code!
  4.  
  5.     - Terms and Conditions:
  6.     You have a non-exclusive, revocable, worldwide, royalty-free license
  7.     for personal and commercial use. Attribution is optional; modifications
  8.     are allowed, but you're responsible for code maintenance. We're not
  9.     liable for any loss or damage. For full terms,
  10.     please visit pleasedontcode.com/termsandconditions.
  11.  
  12.     - Project: Scanner
  13.     - Source Code compiled for: Arduino Mega
  14.     - Source Code created on: 2023-11-02 19:27:21
  15.     - Source Code generated by: AlexWind
  16.  
  17. ********* Pleasedontcode.com **********/
  18. /****** DEFINITION OF LIBRARIES *****/
  19. #include <Arduino.h>
  20. #include <SoftwareSerial.h>
  21.  
  22. /****** SYSTEM REQUIREMENT 1 *****/
  23. /* Use seril and dsfgds to pass TX and RX data */
  24. /* between them. */
  25. SoftwareSerial seril(A0, 6);
  26. SoftwareSerial dsfgds(A3, A1);
  27.  
  28. /****** FUNCTION PROTOTYPES *****/
  29. void setup(void);
  30. void loop(void);
  31.  
  32. void setup(void)
  33. {
  34.   // put your setup code here, to run once:
  35.  
  36.   seril.begin(300);
  37.   dsfgds.begin(300);
  38. }
  39.  
  40. void loop(void)
  41. {
  42.   // put your main code here, to run repeatedly:
  43.  
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement