Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
abbas1707 said:here is sample code...... u can get idea from it
d transmit(unsigned char *a)
{
while(*a!='\0')
{
SBUF=*a;
while(TI==0);
TI=0;
a++;
}
}
abbas1707 said:here is sample code...... u can get idea from it
#include sbit led=P1^0;
void init()
{
TMOD=0x20;
TH1=0xFD;
SCON=0x50;
TR1=1;
}
void transmit(unsigned char *a)
{
while(*a!='\0')
{
SBUF=*a;
while(TI==0);
TI=0;
a++;
}
}
unsigned char rcv()
{
while(RI==0);
return SBUF;
}
void main()
{
unsigned char ok[2];
unsigned char j;
led=0;
init();
transmit("AT");
transmit(0x0d);
for(j=0;j<2;j++)
ok[j]=rcv();
if(ok[0]=='O'&&ok[1]=='K')
led=1;
}
sohail_akram said:Here i make to try gsm engine in Proteus for tesing
mcu codes.but it is still progress ,
**broken link removed**