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 12 matches
CCS Forum Index
Author Message
  Topic: Why working serial data not working on bluetooth module?
ericchee

Replies: 4
Views: 4533

PostForum: General CCS C Discussion   Posted: Wed May 20, 2009 6:15 am   Subject: Why working serial data not working on bluetooth module?
Good explanation ckielstra. Laughing

Now i understand the detailed operation of the code. Too bad I can't test the solution you suggested to me. The bluetooth module no longer with me. Anyway, thank ...
  Topic: Why working serial data not working on bluetooth module?
ericchee

Replies: 4
Views: 4533

PostForum: General CCS C Discussion   Posted: Tue May 12, 2009 7:53 pm   Subject: Why working serial data not working on bluetooth module?
Yes, you are correct.



goto main_program;

again:

output_low(GREENLED);
output_high(REDLED);
output_low(YELLOWLED);

goto again;

I never intend to use ...
  Topic: Why working serial data not working on bluetooth module?
ericchee

Replies: 4
Views: 4533

PostForum: General CCS C Discussion   Posted: Tue May 12, 2009 6:32 am   Subject: Why working serial data not working on bluetooth module?
Hi,

I have done serial sending and receiving using usb-serial port cable and it's working. Here is the code


#include <16F877A.h>
#include <string.h>
#use delay(clock=20000000 ...
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Fri Feb 27, 2009 6:51 pm   Subject: #int rda and set_pwm1_duty()
hi,

May i know the formula to find speed of 9600 baud rate. I have been using 76800 baud rate before and it works but lately my project is not working. after changing back to 9600, it works.


...
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Wed Jan 21, 2009 7:51 am   Subject: #int rda and set_pwm1_duty()
You have just saved my day. This problem have been spinning my head for few days. Thank you very much.

Regards,
Eric
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Mon Jan 19, 2009 11:48 am   Subject: #int rda and set_pwm1_duty()
hey guys,

i encounter a problem. here is the new code added.

PwM=atoi(cmd_str);
if(PwM >= 129)
{
printf("---------------->%d 1 \n\r",PwM);
PwM -= ...
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Mon Jan 05, 2009 9:12 pm   Subject: #int rda and set_pwm1_duty()
I got it now. Here's the code:

#include <16F877A.h>
#include <string.h>
#use delay(clock=20000000)
#fuses hs, noprotect, nowdt,nolvp
#byte PORTB=6
#byte PORTC=7
#define do ...
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Fri Jan 02, 2009 4:41 am   Subject: #int rda and set_pwm1_duty()
oh, i should add #INT_TIMER1 routine into to my code.
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Fri Jan 02, 2009 3:24 am   Subject: #int rda and set_pwm1_duty()
Okay. I have my things reorganize but still not working.
what i am trying to do here is to read data from two timers and send the data to pc. pc will proceses the data and will send back response to ...
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Sun Dec 28, 2008 4:16 am   Subject: #int rda and set_pwm1_duty()
counter, timer, #int_rda and led is for other function in my program. my computer is sending string to PIC. is that possible just using your suggested method to read the string without using interrupt ...
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Wed Dec 03, 2008 2:34 am   Subject: #int rda and set_pwm1_duty()
I just read 'receive ASCII string and convert to int' by coderchick. I think my problem exactly the same with hers. Also I have tried get_string() but still not working. Actually I don't quite underst ...
  Topic: #int rda and set_pwm1_duty()
ericchee

Replies: 12
Views: 22166

PostForum: General CCS C Discussion   Posted: Wed Dec 03, 2008 2:09 am   Subject: #int rda and set_pwm1_duty()
I have used the ex_sisr.c codes and I have no problem to send string from pc to PIC. I have no problem displaying the string back on the pc by sending back from PIC to pc. What I actually want is to s ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group