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 15 matches
CCS Forum Index
Author Message
  Topic: Can't receive '\0' null character in serial(rs232)
isv10

Replies: 11
Views: 23142

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 11:51 pm   Subject: Can't receive '\0' null character in serial(rs232)
Hi. Problem was solved.

Windows is backward compatible with MS-DOS and used the CR-LF convention because MS-DOS was compatible with CP/M-80 which used the CR-LF convention because that was how you ...
  Topic: Can't receive '\0' null character in serial(rs232)
isv10

Replies: 11
Views: 23142

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 7:59 am   Subject: Can't receive '\0' null character in serial(rs232)
Serialport Terminal
by coad.net
  Topic: Can't receive '\0' null character in serial(rs232)
isv10

Replies: 11
Views: 23142

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 7:40 am   Subject: Can't receive '\0' null character in serial(rs232)
How can i find it ? I try with '\n' and no response. When i send string from terminal, for example (test) string i receive (HHHHHtest)
and for another string in new line receive...
  Topic: Can't receive '\0' null character in serial(rs232)
isv10

Replies: 11
Views: 23142

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 7:22 am   Subject: Can't receive '\0' null character in serial(rs232)
Hello Ttelmah and thanks for your help. I changed index=1 and forget to correct it. I send string from pc to micro (with serial port terminal) and then try to find '\0' from end of string. But when i ...
  Topic: Can't receive '\0' null character in serial(rs232)
isv10

Replies: 11
Views: 23142

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 6:46 am   Subject: Can't receive '\0' null character in serial(rs232)
Thanks for your help. I test WDT change.
  Topic: Can't receive '\0' null character in serial(rs232)
isv10

Replies: 11
Views: 23142

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 5:48 am   Subject: Can't receive '\0' null character in serial(rs232)
Thanks for your reply.
This code works fine but can't detect '\0' null char. When i send test string with PC and return it with puts() in int_rda it works good. But when i want to control string with ...
  Topic: Can't receive '\0' null character in serial(rs232)
isv10

Replies: 11
Views: 23142

PostForum: General CCS C Discussion   Posted: Tue Jul 17, 2018 5:13 am   Subject: Can't receive '\0' null character in serial(rs232)
Hello. My project with pic16f1829.
Receiving string with int_rda but can't detect null \0 char.
Someone has a comment ?



#define BUFFER_SIZE 32
int1 have_string=FALSE;
char string[BUFFER ...
  Topic: Why my pic (18f452) restarting?
isv10

Replies: 2
Views: 6223

PostForum: General CCS C Discussion   Posted: Mon Sep 17, 2012 10:31 am   Subject: Why my pic (18f452) restarting?
hello
Anybody know, why my micro restart when I drive solenoid valve with optotriac and triac?
And anybody know how can I drive solenoid valve without any problem?
Please help.
  Topic: help for use timer1 in external mode
isv10

Replies: 8
Views: 10804

PostForum: General CCS C Discussion   Posted: Wed Sep 05, 2012 11:15 pm   Subject: help for use timer1 in external mode
Thanks
1- Can I use set_timer1(value) in timer1 interrupts?
2- What means poor ground??
Code for A/D:

#include <18f452.h>
#fuses HS
#device ADC=10
#use delay(Clock=20000000)
. ...
  Topic: help for use timer1 in external mode
isv10

Replies: 8
Views: 10804

PostForum: General CCS C Discussion   Posted: Wed Sep 05, 2012 2:06 pm   Subject: help for use timer1 in external mode
Mr.Ttelmah
This project when it working ,Sometimes restart and i cant know what i do?
or send unknown character for lcd?
and A/D is not stable?
  Topic: help for use timer1 in external mode
isv10

Replies: 8
Views: 10804

PostForum: General CCS C Discussion   Posted: Wed Sep 05, 2012 1:57 pm   Subject: help for use timer1 in external mode
Dear Ttelmah
Thanks for your guide. I realized that it should connect crystal to T1OSO and T1OSI and config timer1 like that and then i can use this timer:

setup_timer_1(T1_EXTERNAL|T1_CLK_OUT ...
  Topic: help for use timer1 in external mode
isv10

Replies: 8
Views: 10804

PostForum: General CCS C Discussion   Posted: Tue Sep 04, 2012 11:09 pm   Subject: help for use timer1 in external mode
hi
So thanks.
In this case, I should use _t1oso and t1osi_ for connect crystal to 18f452 ???
and not need anything.
  Topic: help for use timer1 in external mode
isv10

Replies: 8
Views: 10804

PostForum: General CCS C Discussion   Posted: Tue Sep 04, 2012 8:02 am   Subject: help for use timer1 in external mode
hello
I want to configure timer1 in external clock mode.
And the clock is provided by the 32.768 khz crystal.But it does not work.
I want to create accurate 1 second time with this crystal. Any ...
  Topic: problem with A/D 18f452
isv10

Replies: 3
Views: 6661

PostForum: General CCS C Discussion   Posted: Tue Aug 31, 2010 12:15 am   Subject: problem with A/D 18f452
hi
When i fix it clock like as table 17-1(clock div 32), its really better, but not very good like as 16f877a. Thanks for your useful idea. I am really thanks.
Are you can help me to complete solve ...
  Topic: problem with A/D 18f452
isv10

Replies: 3
Views: 6661

PostForum: General CCS C Discussion   Posted: Sun Aug 29, 2010 2:09 pm   Subject: problem with A/D 18f452
hello
I use pic 16f877a in my project and I need 5 channel A/D in this. This project is worked really good. When I need to change and upgrade my program I forced with program memory to use 18f452. A/ ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group