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
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'...