hi
i wanted to know how exactly handshaking signals (RTS and CTS) be included in the program.
we are using a wavecom modem that use AT commands.
we have also included MAX232 for ttl to rs232 conversion.
command to accept call is ATA. i wanted to know whether to trasmit ATA command as a string through Serial port(TXD) or transmit chatracters A,T,A separately or is there some other equivalent code that is being transmitted when using the hyperterminal
Thanks
You do understand that Keil uVision is not for developing applications to run on the PC, don't you?
Keil tools are cross-development tools, used to develop applications that will run on embedded microcontroller systems; ie, software that will run on boards like these: http://www.keil.com/boards/
uVision provides a Simulator that allows you to run your embedded application in a simulation on the PC.
See: www.keil.com/.../uv3_sm_uartcommunication.htm
i have developed a program for blinking LED which is
i am not getting the syntax right here please manage to read through this
while(1) {
LED=~LED;//LED is sbit LED=P1.0 defined earlier// delay(); // delay is subroutine defined to be delay of .5 seconds have used timer1 for delay of 50ms then a for loop for 21 loop approx .5 seconds }
this works fine but this program doesn't
this is for blinking LED 5times then stop
for(k=1,k<=10;k++) { LED=~LED; delay(); }
note that there is no overall while loop in second case
will this effect the result when i am implementing in hardware not in keil
Please read the instructions on how to post source code - they are really quite clearly stated: www.danlhenry.com/.../keil_code.png
Note that TABs don't work (well) - use spaces instead,
and don't forget to check it in the 'Preview'...