since im using the RAM here every time I turn off my arduino the number stored in the num_save will be wipe. so I need to text again just to store my number at the num_save.
I want to store it in the Flash memory so that It will not be wipe after I turn off my arduino. I dont really understand how PROGMEM works. Should I just put the word PROGMEM next to the variable name? would that store the number?
char num_rcv ; char num_save ; gsm.readSMS(smsdata, 160, num_rcv, 20) //receiving the number strcpy( num_save, num_rcv ); // after receiving, store the num_rcv to the num_save