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 17 matches
CCS Forum Index
Author Message
  Topic: how to add vector matrix
Laus

Replies: 1
Views: 8116

PostForum: General CCS C Discussion   Posted: Sun Jul 28, 2019 10:56 am   Subject: how to add vector matrix
long xcc[]={0,0,1,1};
long ycc[]={1,1,1,1};
int out[];

out[]=ycc[]+xcc[];
out[]=={1,1,1,1,0,0,1,1}; // I need this output, how to get this?
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 3:38 pm   Subject: Pwm with pulsin.c base
I will test and then post the results. thank you
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 12:47 pm   Subject: Pwm with pulsin.c base
Ok I'll look for a pic with more hardware PWM.
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 12:05 pm   Subject: Pwm with pulsin.c base
Yes, that's it jay!
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 12:01 pm   Subject: Pwm with pulsin.c base
Is simple, want to get PPM pulses from a RC receiver with pic and increase or decrease the time of the positive pulse, and launch this pulse in the pic output to control a "4" servo motor, t ...
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 10:30 am   Subject: Pwm with pulsin.c base
The problem is that the pulsin disable the timer sometimes and this causes more errors in the PWM.
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 10:10 am   Subject: Pwm with pulsin.c base
And how sometimes the solution is simple and this is our view but we could not see by some oversight, asked for help here. But I see the PWM is really incompatible with the control made through the co ...
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 10:05 am   Subject: Pwm with pulsin.c base
The operation of the code was understood I use this PWM in several other codes, the part that is not mine and the pulsin.c .The intention was to replace a reading done by a adc, and a pot for the valu ...
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 9:09 am   Subject: Pwm with pulsin.c base
This part controls the negative pulse time should be in 20ms but this around 60ms.
If you use this code in alone I have a PPM signal 1 and 2ms 50Hz.

{
for(x=0; x<t;x++){
...
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 9:02 am   Subject: Pwm with pulsin.c base
ok I'll work the signal 1 radio control RC receiver, PPM signal and the pic increase or decrease the duration of the positive pulse, the only problem and that I'm not able to control the negative part ...
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 7:50 am   Subject: Pwm with pulsin.c base
Pulsin.c


Obtained here in the forum

http://www.ccsinfo.com/forum/viewtopic.php?t=42353&highlight=pulsin

//***********************************************************
#ifdef __PCB__
# ...
  Topic: Pwm with pulsin.c base
Laus

Replies: 21
Views: 26840

PostForum: General CCS C Discussion   Posted: Wed Feb 10, 2016 6:42 am   Subject: Pwm with pulsin.c base
Hello I need to read pulses in 4 pic entries modulate this signal and put it in other 4 outputs I managed to control the high pulse however not low, the pulses are of servo engine 1 to 2ms.The pulse d ...
  Topic: Pwm getc slow code
Laus

Replies: 9
Views: 17223

PostForum: General CCS C Discussion   Posted: Mon Jan 18, 2016 5:49 pm   Subject: Pwm getc slow code
Really 877 is an old pic but it is cheap and has no use for professional purposes it serves well. I have done many projects with him and set as a base, not yet had the need to use a more sophisticated ...
  Topic: Pwm getc slow code
Laus

Replies: 9
Views: 17223

PostForum: General CCS C Discussion   Posted: Sun Jan 17, 2016 3:39 pm   Subject: Pwm getc slow code
Exactly avr has 6 PWM hardware for the same price for a pic with 1, but I still insist on the pic already made investment.
  Topic: Pwm getc slow code
Laus

Replies: 9
Views: 17223

PostForum: General CCS C Discussion   Posted: Sun Jan 17, 2016 1:53 pm   Subject: Pwm getc slow code
Almost going to the dark side of the force, AVR.
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group