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

Search found 14 matches
CCS Forum Index
Author Message
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Fri Apr 29, 2016 12:38 pm   Subject: RS 232 Communication Problem
Hi,

Your problem may appear to be 'solved', but that is very flawed code, and you and anyone that comes later should know that!

Here are the problems that need fixing:

1. Inside your int_rda ...
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Fri Apr 29, 2016 11:46 am   Subject: RS 232 Communication Problem
@temtronic

was right, after adding "errors" to rs232 options I received all datas although to 9600 bps,,,

it seems that problem solved now,

I am sharing the code for other friends, ...
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Fri Apr 29, 2016 1:55 am   Subject: RS 232 Communication Problem
I tried your code but as you know your code is only getting one character. Maybe I could not understand you but, but I am always getting only "2W".. (not all the string)

I also tried ex_s ...
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Thu Apr 28, 2016 12:12 pm   Subject: RS 232 Communication Problem
@Ttelmah,

I will study ex_sisr.c as you said.
But I am sure that I will need your and other friend's help again,
thanks for your kind and helpful personality....
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Thu Apr 28, 2016 7:50 am   Subject: RS 232 Communication Problem
:(

It does not working,,,

As I explained before, I want to get string (like "1234KJHNFCKRWS") and display it on LCD... But string data is not sending via computer so there is no enter ...
  Topic: Trouble with gets() using RS232
hhuurrkkaann

Replies: 6
Views: 28432

PostForum: General CCS C Discussion   Posted: Thu Apr 28, 2016 7:01 am   Subject: Trouble with gets() using RS232
how to get all string data which is coming from any device via rs 232...

as an example, "FR34HFSKLJIL3IJHIL" formatted string data is coming from a device and I want to show this string ...
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Wed Apr 27, 2016 2:04 pm   Subject: RS 232 Communication Problem
Key is a simple understanding.
A 'string' is just a sequence of characters. Nothing more or less. Inside C itself, it has an extra terminating '\0' to mark it's end in memory, but this is not sent. I ...
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Wed Apr 27, 2016 1:03 pm   Subject: RS 232 Communication Problem
Smile It is really funny. I am crazy Smile sorry for my foolish mistake...

Forget max 232 Smile

Now the real problem is software.

Problem is:

how to get all the string data like "OIHUFRW23 ...
  Topic: RS 232 Communication Problem
hhuurrkkaann

Replies: 18
Views: 62990

PostForum: General CCS C Discussion   Posted: Wed Apr 27, 2016 7:18 am   Subject: RS 232 Communication Problem
Hi,
I am trying to receive string data...
I am transmitting "sending-data" string by one pic, and trying to receive data by other pic... But I could not receive all data,,,

I want to ...
  Topic: How to get ASCII character from serial line...
hhuurrkkaann

Replies: 3
Views: 14187

PostForum: General CCS C Discussion   Posted: Mon Apr 18, 2016 5:27 am   Subject: How to get ASCII character from serial line...
Hi, I start to learn ccs c nowadays and I have a question about getting characters from serial line (rs 232)...

As an example"
this is the sentence which sending with serial line:

$GPGGA,0 ...
  Topic: serial port connection question ?
hhuurrkkaann

Replies: 13
Views: 13155

PostForum: General CCS C Discussion   Posted: Wed Jan 09, 2013 8:13 am   Subject: serial port connection question ?
thanks ezflyr

in fact I didnt write anything for your explanations. and of course you can find others questions easy or hard. I have no experience with ccs c, my experience is PLC and I shares my e ...
  Topic: serial port connection question ?
hhuurrkkaann

Replies: 13
Views: 13155

PostForum: General CCS C Discussion   Posted: Wed Jan 09, 2013 6:32 am   Subject: serial port connection question ?
Thanks for answers...

I didn't print screen them, took photos of screen because in the company which I am working, it is forbidden to take datas from computers...

ezflyr can you write the soluti ...
  Topic: serial port connection question ?
hhuurrkkaann

Replies: 13
Views: 13155

PostForum: General CCS C Discussion   Posted: Tue Jan 08, 2013 2:32 pm   Subject: serial port connection question ?
Thanks for answers...

I didn't print screen them, took photos of screen because in the company which I am working, it is forbidden to take datas from computers...

ezflyr can you write the soluti ...
  Topic: serial port connection question ?
hhuurrkkaann

Replies: 13
Views: 13155

PostForum: General CCS C Discussion   Posted: Tue Jan 08, 2013 12:35 pm   Subject: serial port connection question ?
please help :-(
what I want to do is below?
I will receive datas (data is like "t4y2o5v3") from XXX device with PIC16f877's serial port and then I will only get the numbers of this data (4 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group