Question: what is the mistake in my code??? im using arduino atmega 2560 to detect the motion and while im running my code no messages shown

what is the mistake in my code??? im using arduino atmega 2560 to detect the motion and while im running my code no messages shown on my virtual terminal !! why?? plz i need help what is the mistake in my code??? im using arduino atmega 2560

void setup() { Serial.begin(9600); pinMode (5, INPUT); pinMode (7, OUTPUT); pinMode (10, OUTPUT); void loop() { if (digitalRead(5) ==HIGH) { digitalWrite (7, HIGH); digitalWhite (10, HIGH); mySerial.println("AT+CMGE=1"); delay (1000); mySerial.println("AT+CMGS=\"+961817762274 "R"); dele (1000); mySerial.an ("MOTION IS DETECTED"); mySerial ... (en) 26)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!