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 29 matches
CCS Forum Index
Author Message
  Topic: String control needed
frierray

Replies: 7
Views: 7324

PostForum: General CCS C Discussion   Posted: Fri Nov 06, 2009 2:26 pm   Subject: String control needed
Thanks, it worked great!
  Topic: String control needed
frierray

Replies: 7
Views: 7324

PostForum: General CCS C Discussion   Posted: Mon Nov 02, 2009 1:52 pm   Subject: String control needed
That's very helpful. However it was not obvious. I'm new to C programming and could not find any info on how this would work. My assumption was that printf would still be responsible for sending th ...
  Topic: String control needed
frierray

Replies: 7
Views: 7324

PostForum: General CCS C Discussion   Posted: Sun Nov 01, 2009 7:12 am   Subject: String control needed
Hi Douglas,

Thanks for your help with this. If I could get this working is should do just what I need. However I must have made some kind of simple coding error. It all works, but the message do ...
  Topic: String control needed
frierray

Replies: 7
Views: 7324

PostForum: General CCS C Discussion   Posted: Sat Oct 31, 2009 6:23 am   Subject: String control needed
Hi All,

I am using a 18F452 with compiler V 4.073. I need to send a string of characters out the usart to a speech module (V8601) without over running its input buffer. There is a control pin ava ...
  Topic: PWM1 and Timer1 problems
frierray

Replies: 2
Views: 3763

PostForum: General CCS C Discussion   Posted: Thu Aug 06, 2009 3:14 pm   Subject: PWM1 and Timer1 problems
PCM Programmer;

I forgot to include it with the post. Here it is:

#define TIMER1_PRESET (65536 - 5000) // Interrupt every 5000 counts

// t1 timer used for key switch management
#int_ti ...
  Topic: PCM programmer 10,000 posts
frierray

Replies: 21
Views: 18606

PostForum: General CCS C Discussion   Posted: Thu Aug 06, 2009 2:23 pm   Subject: PCM programmer 10,000 posts
Congratulations !!!

You have helped me with a couple coding issues over the past year. Your knowledge of C, the CCS compiler and the posts on the board is incredible.

Please keep up the goo ...
  Topic: PWM1 and Timer1 problems
frierray

Replies: 2
Views: 3763

PostForum: General CCS C Discussion   Posted: Thu Aug 06, 2009 1:19 pm   Subject: PWM1 and Timer1 problems
All,

I was wondering if I could get some input from the group. The following is a small part of some PWM code. The PWM users PWM1 and Timer 2.

// Set up PWM
set_pwm1_duty(0); ...
  Topic: Interrupt to occur on bits B6 and B7 only
frierray

Replies: 3
Views: 4051

PostForum: General CCS C Discussion   Posted: Thu Jul 16, 2009 6:23 pm   Subject: Interrupt to occur on bits B6 and B7 only
PCM Programmer,

Thanks for the input, I'll have a look at the K20 next. However I'll need to run this on a 2520 as it is installed on the board at this time. I have used the interrupt-on-change b ...
  Topic: Interrupt to occur on bits B6 and B7 only
frierray

Replies: 3
Views: 4051

PostForum: General CCS C Discussion   Posted: Thu Jul 16, 2009 2:43 pm   Subject: Interrupt to occur on bits B6 and B7 only
Hi All,

I would like to use the Interrupt on change in PORT B. I understand this works on the top 4 bits of port B. However I need the interrupt to occur on bits B6 and B7 only. B4 and B5 are us ...
  Topic: Question Re Timer2 and Timer 3
frierray

Replies: 10
Views: 11441

PostForum: General CCS C Discussion   Posted: Sun Jul 12, 2009 5:13 am   Subject: Question Re Timer2 and Timer 3
PCM programmer,

That works great at 20Mhz. Just what I needed, thanks for the help.

Ray
  Topic: Question Re Timer2 and Timer 3
frierray

Replies: 10
Views: 11441

PostForum: General CCS C Discussion   Posted: Fri Jul 10, 2009 2:59 pm   Subject: Question Re Timer2 and Timer 3
PCM Programmer,

Thank you so much.

Ray
  Topic: Question Re Timer2 and Timer 3
frierray

Replies: 10
Views: 11441

PostForum: General CCS C Discussion   Posted: Fri Jul 10, 2009 2:35 pm   Subject: Question Re Timer2 and Timer 3
PCM Programmer,

Thanks for all your help.

I would like to use either the code you recommended or Mark's code, modified (with the bug fixes) at 20 Mhz with the T1 timer.

I tested the code in ...
  Topic: Question Re Timer2 and Timer 3
frierray

Replies: 10
Views: 11441

PostForum: General CCS C Discussion   Posted: Fri Jul 10, 2009 1:23 pm   Subject: Question Re Timer2 and Timer 3
PCM programmer,

I am running this on a 18F252 at 4 Mhz to test. I have another card with a 18F252 at 20 Mhz as well.

I used Mark's code as per the link. The code now looks like this. I ch ...
  Topic: Question Re Timer2 and Timer 3
frierray

Replies: 10
Views: 11441

PostForum: General CCS C Discussion   Posted: Fri Jul 10, 2009 12:55 pm   Subject: Question Re Timer2 and Timer 3
PCM programmer,

I made the changes you recommended and it worked on the T3 or T1 time. However at 4 MHz it is slow to react to a key pressed. Mark's code at 20Mhz was much more responsive. To us ...
  Topic: Question Re Timer2 and Timer 3
frierray

Replies: 10
Views: 11441

PostForum: General CCS C Discussion   Posted: Tue Jul 07, 2009 1:20 pm   Subject: Question Re Timer2 and Timer 3
Hi all,

There is a block of code on the forum (Multi-Event Switch Action for Microchip Microcontrollers) that I would like to use, however the code uses Timer2 set for 1 ms ticks. In my code T2 is ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group