/********* 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: GPSSTARTER - Source Code compiled for: Arduino Uno - Source Code created on: 2023-11-12 04:05:33 - Source Code generated by: Mahendra ********* Pleasedontcode.com **********/ /****** DEFINITION OF LIBRARIES *****/ #include #include /****** SYSTEM REQUIREMENT 1 *****/ /* When power on Read after 3 second VINPUT VALUE */ /* if READ VVALUE=2.5v+-10% Led on and print PUMP */ /* ON Delay 3second Read AVALUE=2V+-10% IF READ */ /* OVER RANGE LED OFF AND PRINT PUMP OFF PRINT */ /* IN DISPLAY AND MASSEGE IN */ /****** SYSTEM REQUIREMENT 2 *****/ /* Read massage work and replay ON MOBILE NO Read */ /* massage =1 Send AINPUT ,VINPUT,PUMP ON/PUMP OFF */ /* READ MASSAGE =2 OUTPUT LED ON REPLAY PUMP ON */ /* READ MASSAGE =3 OUTPUT LED OFF REPLAY PUMP OFF */ /****** FUNCTION PROTOTYPES *****/ void setup(void); void loop(void); /***** DEFINITION OF ANALOG INPUT PINS *****/ const uint8_t VINPUT_PIN_A0 = A0; const uint8_t AINPUT_PIN_A1 = A1; /***** DEFINITION OF DIGITAL OUTPUT PINS *****/ const uint8_t Output_LED_PIN_D2 = 2; /***** DEFINITION OF Hardware Serial *****/ SIM800L sim800(8, 9); void setup(void) { // put your setup code here, to run once: pinMode(VINPUT_PIN_A0, INPUT); pinMode(AINPUT_PIN_A1, INPUT); pinMode(Output_LED_PIN_D2, OUTPUT); sim800.begin(); } void loop(void) { // put your main code here, to run repeatedly: }