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:18:54
- - Source Code generated by: AlexWind
- ********* Pleasedontcode.com **********/
- /****** DEFINITION OF LIBRARIES *****/
- #include <Arduino.h>
- #include <SoftwareSerial.h>
- /****** SYSTEM REQUIREMENT 1 *****/
- /* Subsystem Requirement 1.1: Initialize Hardware Serial */
- /* Subsystem Requirement 1.2: Initialize Software Serial */
- /****** FUNCTION PROTOTYPES *****/
- void setup(void);
- void loop(void);
- /***** DEFINITION OF Hardware Serial *****/
- /***** DEFINITION OF Software Serial *****/
- SoftwareSerial mySerial(10, 11); // RX, TX
- void setup(void)
- {
- // put your setup code here, to run once:
- /* Subsystem Requirement 1.1: Initialize Hardware Serial */
- Serial.begin(19200);
- /* Subsystem Requirement 1.2: Initialize Software Serial */
- mySerial.begin(9600);
- }
- void loop(void)
- {
- // put your main code here, to run repeatedly:
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement