Advertisement
pleasedontcode

asd rev_18

Oct 14th, 2023
51
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: asd
  13.     - Source Code compiled for: Arduino Mega
  14.     - Source Code created on: 2023-10-14 15:44:05
  15.     - Source Code generated by: AlexWind
  16.  
  17. ********* Pleasedontcode.com **********/
  18. /****** DEFINITION OF LIBRARIES *****/
  19. #include <Arduino.h>
  20.  
  21. /****** SYSTEM REQUIREMENT 1 *****/
  22. // Add a comment describing system requirement 1
  23.  
  24. /****** FUNCTION PROTOTYPES *****/
  25. void setup(void);
  26. void loop(void);
  27.  
  28. /***** DEFINITION OF Hardware Serial *****/
  29. #define SERIAL1_TX_PIN 18
  30. #define SERIAL1_RX_PIN 19
  31.  
  32. #define SERIAL3_TX_PIN 14
  33. #define SERIAL3_RX_PIN 15
  34.  
  35. void setup(void)
  36. {
  37.   // put your setup code here, to run once:
  38.  
  39.   Serial.begin(9600); // Initialize the default Serial port
  40.   Serial1.begin(19200); // Initialize Serial1 with baud rate 19200
  41.   Serial3.begin(500000); // Initialize Serial3 with baud rate 500000
  42. }
  43.  
  44. void loop(void)
  45. {
  46.   // put your main code here, to run repeatedly:
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement