Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

checking microcontroller

Status
Not open for further replies.

mpmece

Newbie level 4
Joined
Feb 5, 2013
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,314
i am using at89s52 . i have connected the microcontroller to system using rs232 . nw i just want to print some data in hyperterminal
the program which i have used is
#include<8051.h>
#include<delay.c>
void send(unsigned char x);

main(){
TMOD=0x20;
TH1=0xFA;
SCON=0x50;
TR1=1;

while(1){
send('mpm');
}
}

void send(unsigned char x){
SBUF=x;
while(TI==0);
TI=0;
DelayMs(200);
}

if i use the c programming header ie #include<stdio.h> will the microcontrller accept that header ??
am just trying to send msg from at89s52 using gsm modem sim300 . i have tested the modem separately using hyperterminal it is working but when i try to send the sms using program i am not able to do so i dono wat mistake i am doin jus help me out .....
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top