CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

recieve data from Hyperterminal

 
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go
View previous topic :: View next topic  
Author Message
Almasri
Guest







recieve data from Hyperterminal
PostPosted: Thu May 26, 2005 9:20 am     Reply with quote

Hi


mny question today is the following:
i am trying to get input from the user using Hyperterminal is it possible..??

my program goes something like this

#include <16f877a.h>
#device ICD=TRUE
#fuses HS,NOLVP,NOWDT,PUT, NOPROTECT
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7)
while(TRUE) {


printf("\r\nPlease type (b) for board or (o) for onboard LED's");
a=getch();

if (a=='b') {

printf("\r\nWise Choice Son");
delay_ms(100);
.........etc

Now, i wanted to get from the user a (Char), but with hyperterminal i CAN'T type anything to the screen ...
so what is wrong with my procedure or what am i missing or is it right to use hyperterminal to get data from the user..

thank you very Much
Programmer
Guest







PostPosted: Mon Jun 06, 2005 8:27 am     Reply with quote

you should set your Flow control to NONE on the option screen in the Hyperterminal

hope this helps..
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> CCS ICD / Mach X / Load-n-Go All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group