Hello, I have a question about how to specifically save some data through the SIM808. I am working on a project and I need only certain numbers to have access at the rest of functions of my code (for now I'm only using text messages).
I used a variable to save the message
char message = 0;
When using caller ID through the following lines:
SIM808.print("AT+CLIP=1\r");
Then print it in the void loop
if (SIM808.available() > 0)
{
menssage = SIM808.read(); //Save the character that comes from the SIM808
Serial.print(message); //Show the character on the serial monitor
}
In this way it shows me on the serial monitor the number from which it receives the message, but as same the variable "message" I want to save the number who texted in another variable to use it after in an if function. I could'nt make it possible, so I appreciatte a little help
Moderador:
Por favor, lee las Normas del foro y edita tus lineas de código/error usando etiquetas de código, aunque sólo sea 1 línea.
Ve a edición, luego selecciona todo el código que has publicado, lo cortas y click en </>
@bestod no sé cuál fue la intención de editar tu post y reescribirlo en inglés (tal vez que los moderadores lo cambien de sección o hacerlos quedar como tontos que no saben diferenciar un idioma de otro) pero te aviso que la edición es visible
Moderador:
Por favor, lee las Normas del foro .Bueno lo que has hecho es un desastre.
Primero un post en español en el foro en inglés.
Mueven tu hilo y ahora lo pasas al inglés.
Cierro el hilo. Lee las normas, compra un GPS y perdona la ironía porque no entiendes que cuando estas en el foro en inglés debes usar inglés y cuando estas en el foro en español debes usar español.
Asi que ordena tus ideas y hazlo de nuevo porque este empezó mal.
Por cierto, jamás edites el post incial salvo que el moderador te lo socilite.