hie guys,
i am trying to do the same project,,
wireless notice board using GSM module and led 8x8 matrix module 7219,..
i have attained gsm part ..all recieved messages from gsm i am storing in a variable.. now how to print variable value in led matrix...?? plz help me out .. how to print value from a varible to led matrix 8x8
here is the code i used for gsm
#include <SoftwareSerial.h>
SoftwareSerial SIM900(7, 8 );
int inByte=0;
void setup()
{
Serial.begin(9600); // for serial monitor display
SIM900.begin(9600); // for GSM shield start serial programming
SIM900.print("AT+CMGF=1\r"); // set SMS mode to text
delay(100);
SIM900.print("AT+CNMI=2,2,0,0,0\r"); // Configuration to extract content of the received message.Display it on Arduino Serial Monitor
delay(100);
}
void loop()
{
// Now we simply display any text that the GSM shield sends out on the serial monitor
do
{
while ( !SIM900.available() );
} while ( '"' != SIM900.read() );
do
{
while ( !SIM900.available() );
} while ( '"' != SIM900.read() );
do
{
while ( !SIM900.available() );
} while ( '"' != SIM900.read() );
do
{
while ( !SIM900.available() );
} while ( '"' != SIM900.read() );
do
{
while ( !SIM900.available() );
} while ( '"' != SIM900.read() );
do
{
while ( !SIM900.available() );
} while ( '"' != SIM900.read() );
while ( !SIM900.available() );
inByte = SIM900.read();
while ( !SIM900.available() );
inByte = SIM900.read();
while(1)
{
while ( !SIM900.available() );
inByte = SIM900.read();
if ( inByte == '\r' )
break;
else;
Serial.write(inByte);
}
}