I want to dial 2 mobile numbers from SIM800L module when the the arduino gets a trigger signal. Here how I do one after the other. I'm not sure how the delay affects.....How to do it professionally?
I did that way while experimenting (To check how many delays I need) . I can write that in one line as you say.Apart from these can you see any other improvements?
I was expecting a professional reply regarding the procedure of dialing 2 numbers in a professional manner. No need to post entire code which has the initialize & trigger inputs. The trigger signal can be a micro switch etc...
My main concern is some times it misses the 2nd call.
Except, of course, we can't see which library you are using to implement the mySerial object, it's baud rate or which pins it is using, any or all of which may influence the running of the program