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 16 matches
CCS Forum Index
Author Message
  Topic: Programming multiple timing sensitive routines
StealthMicro

Replies: 11
Views: 10394

PostForum: General CCS C Discussion   Posted: Tue May 05, 2009 3:50 pm   Subject: Programming multiple timing sensitive routines
SherpaDoug,

That would actually also be a good idea. I was thinking of using the .3MS pause between pulses but the minimum pulse width is .7MS so your idea would gain an additional .5MS to work in ...
  Topic: Programming multiple timing sensitive routines
StealthMicro

Replies: 11
Views: 10394

PostForum: General CCS C Discussion   Posted: Mon May 04, 2009 5:47 pm   Subject: Programming multiple timing sensitive routines
I started to think along those same lines. I got to thinking I could probably pull each channel during the .3MS pause between each channel thus leaving more processing power for even more things.

...
  Topic: Programming multiple timing sensitive routines
StealthMicro

Replies: 11
Views: 10394

PostForum: General CCS C Discussion   Posted: Sun May 03, 2009 12:02 pm   Subject: Programming multiple timing sensitive routines
It was a different question last week. I did figure out a good way to generate the PPM stream now with a large help from your post.

Now I am concerned with timing and putting it all together witho ...
  Topic: Programming multiple timing sensitive routines
StealthMicro

Replies: 11
Views: 10394

PostForum: General CCS C Discussion   Posted: Sun May 03, 2009 11:02 am   Subject: Programming multiple timing sensitive routines
I am working on a program on a 18F4550 where I need to read multiple ADC inputs and output a PPM stream that is 22.5MS in length with varying length pulse sequences. See pic below for reference.

I ...
  Topic: Multiple R/C Servo PPM signal.
StealthMicro

Replies: 7
Views: 18264

PostForum: General CCS C Discussion   Posted: Thu Apr 30, 2009 12:16 pm   Subject: Multiple R/C Servo PPM signal.
You can do that with a code in a timer ISR Wink

Give me a little example and you will be a hero!

I plan to use a 18F4550 so that I can utilize the USB port for some other stuff I need to do a ...
  Topic: Multiple R/C Servo PPM signal.
StealthMicro

Replies: 7
Views: 18264

PostForum: General CCS C Discussion   Posted: Thu Apr 30, 2009 11:33 am   Subject: Multiple R/C Servo PPM signal.
I have built a Flight Simulator like a helicopter seat that I need to interface with the R/C Transmitters. Right now I have to hack each transmitter and tap in to the pots to access the controls. It ...
  Topic: Software RS232 Problem.
StealthMicro

Replies: 5
Views: 8776

PostForum: General CCS C Discussion   Posted: Thu Apr 19, 2007 12:49 pm   Subject: Software RS232 Problem.
Problem solved. After reviewing the data sheet yet again I noticed that the TTL was able to pick up at around 2.4v but the ST was 0.8 VDD which is about 4.2v which is out of range. By moving the rec ...
  Topic: Software RS232 Problem.
StealthMicro

Replies: 5
Views: 8776

PostForum: General CCS C Discussion   Posted: Thu Apr 19, 2007 11:48 am   Subject: Software RS232 Problem.
Okay I moved the terminal over to D2 and D3 and it worked like a charm. So for some reason the FORCE_SW just appears not to work right with this particular combination. So maybe I am reading the dat ...
  Topic: Software RS232 Problem.
StealthMicro

Replies: 5
Views: 8776

PostForum: General CCS C Discussion   Posted: Thu Apr 19, 2007 11:29 am   Subject: Software RS232 Problem.
As an interesting experiment I tried this code.

#use rs232(baud=115200,xmit=PIN_C6,rcv=PIN_C7,stream=HOSTPC,FORCE_SW)

void main()
{
char c;
while(TRUE) & ...
  Topic: Software RS232 Problem.
StealthMicro

Replies: 5
Views: 8776

PostForum: General CCS C Discussion   Posted: Thu Apr 19, 2007 11:22 am   Subject: Software RS232 Problem.
I tried using the invert option with no success.

I am using the Telit GM862 GPS with the USB EVK V3 from Spark Fun and am directly connecting the pins to the Olimex PIC-P40 breakout board. Here is ...
  Topic: Software RS232 Problem.
StealthMicro

Replies: 5
Views: 8776

PostForum: General CCS C Discussion   Posted: Wed Apr 18, 2007 6:18 pm   Subject: Software RS232 Problem.
I am sure this is s newbie mistake on my part...

The relevant code is as follows.

#use rs232(baud=4800,parity=N,rcv=PIN_D7,bits=8,stream=GPS) // Used to get 4800 NMEA stream from GPS
#u ...
  Topic: CCS has given www.ccsgeeks.com their blessing...
StealthMicro

Replies: 3
Views: 4685

PostForum: General CCS C Discussion   Posted: Tue Apr 17, 2007 12:24 pm   Subject: CCS has given www.ccsgeeks.com their blessing...
I do personally. I have several domains and am hosting this site on my web hosting account.
  Topic: CCS has given www.ccsgeeks.com their blessing...
StealthMicro

Replies: 3
Views: 4685

PostForum: General CCS C Discussion   Posted: Tue Apr 17, 2007 11:50 am   Subject: CCS has given www.ccsgeeks.com their blessing...
I have been corresponding with the guys at CCS and they have given the new www.ccsgeeks.com their blessing and the site has been released. Their is a link to www.ccsgeeks.com from www.mcuspace.com. Y ...
  Topic: Move this board to a Wiki?
StealthMicro

Replies: 9
Views: 69518

PostForum: Code Library   Posted: Tue Apr 17, 2007 11:28 am   Subject: Move this board to a Wiki?
The guys at CCS have given www.ccsgeeks.com their blessing. It is already linked on the www.mcuspace.com website as well. So it is there if you want to use it. I put a couple of articles from this ...
  Topic: Move this board to a Wiki?
StealthMicro

Replies: 9
Views: 69518

PostForum: Code Library   Posted: Wed Apr 11, 2007 11:49 am   Subject: Move this board to a Wiki?
I would much rather have ccs control these forums than others. And advertising on a forum to try to move everyone over to your forum (or wiki) is just daft.

First of all its not a forum. Its a we ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group