Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /********* Pleasedontcode.com **********
- Pleasedontcode thanks you for automatic code generation! Enjoy your code!
- - Terms and Conditions:
- You have a non-exclusive, revocable, worldwide, royalty-free license
- for personal and commercial use. Attribution is optional; modifications
- are allowed, but you're responsible for code maintenance. We're not
- liable for any loss or damage. For full terms,
- please visit pleasedontcode.com/termsandconditions.
- - Project: asd
- - Source Code compiled for: Arduino Mega
- - Source Code created on: 2023-10-14 15:44:05
- - Source Code generated by: AlexWind
- ********* Pleasedontcode.com **********/
- /****** DEFINITION OF LIBRARIES *****/
- #include <Arduino.h>
- /****** SYSTEM REQUIREMENT 1 *****/
- // Add a comment describing system requirement 1
- /****** FUNCTION PROTOTYPES *****/
- void setup(void);
- void loop(void);
- /***** DEFINITION OF Hardware Serial *****/
- #define SERIAL1_TX_PIN 18
- #define SERIAL1_RX_PIN 19
- #define SERIAL3_TX_PIN 14
- #define SERIAL3_RX_PIN 15
- void setup(void)
- {
- // put your setup code here, to run once:
- Serial.begin(9600); // Initialize the default Serial port
- Serial1.begin(19200); // Initialize Serial1 with baud rate 19200
- Serial3.begin(500000); // Initialize Serial3 with baud rate 500000
- }
- void loop(void)
- {
- // put your main code here, to run repeatedly:
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement