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 59 matches
CCS Forum Index
Author Message
  Topic: PPM/PWM decoding
noyz

Replies: 3
Views: 14180

PostForum: General CCS C Discussion   Posted: Wed Feb 19, 2020 5:18 pm   Subject: PPM/PWM decoding
check my post here :
https://www.ccsinfo.com/forum/viewtopic.php?p=228302#228302
  Topic: PPM to PWM for RC receivers
noyz

Replies: 5
Views: 21153

PostForum: General CCS C Discussion   Posted: Wed Feb 19, 2020 4:57 am   Subject: PPM to PWM for RC receivers
Me answering to myself few years later Smile)


PIC 16F648 - INT OSC 4 MHZ
PWM FREQ 1 KHZ
PPM signal 1000 - 1500 - 2000 ms (Full Back,Neutral, Full FWD)

I have an N Mosfet and a relay for changi ...
  Topic: Stack overflow ??
noyz

Replies: 3
Views: 6665

PostForum: General CCS C Discussion   Posted: Sat Jul 02, 2011 6:03 am   Subject: Stack overflow ??
Thanks a lot for response.
I do believe that i have something like v[10] and then try to set v[10]
usually in java or in c++ you get an array out of index.
I'll take a look and see about everything ...
  Topic: Stack overflow ??
noyz

Replies: 3
Views: 6665

PostForum: General CCS C Discussion   Posted: Fri Jul 01, 2011 2:54 am   Subject: Stack overflow ??
Hi,
I have PIC 18F8527 and it seems that when i use a boolean variable
it doesn't work as it should.
I set it true, but then it sets itself false.
Before this, I had a piece of code in a serial re ...
  Topic: How can i read from serial ??
noyz

Replies: 4
Views: 5061

PostForum: General CCS C Discussion   Posted: Thu Jun 30, 2011 11:06 am   Subject: How can i read from serial ??
I have an application with pic18f2550 which reads how much power one consumer drains in that moment.
So a watt reader.
I set serial there.. the output is ok to pc.
Now I want to read it on 8527 and ...
  Topic: Problem interfacing 2 PIC
noyz

Replies: 4
Views: 4838

PostForum: General CCS C Discussion   Posted: Wed Jun 29, 2011 3:14 am   Subject: Problem interfacing 2 PIC
Yes you may be right but this is a very simple test.
It should work this way.
I know that I am missing something
on the reading part.
One infinite loop:-?


Btw what I was telling you about sis ...
  Topic: Problem interfacing 2 PIC
noyz

Replies: 4
Views: 4838

PostForum: General CCS C Discussion   Posted: Tue Jun 28, 2011 6:52 am   Subject: Problem interfacing 2 PIC
Take a look now, i've edited code.

And i know abous sisr but i am telling you it doesn't work, i've modified it for me.

I really need to try this, there is some strange thing that happens on ser ...
  Topic: Problem interfacing 2 PIC
noyz

Replies: 4
Views: 4838

PostForum: General CCS C Discussion   Posted: Tue Jun 28, 2011 4:56 am   Subject: Problem interfacing 2 PIC
PIC 18F2550 -is writer


#include <18F2550.h>

#use delay(clock=48 000 000,RESTART_WDT)

#use rs232(baud=115200 ,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8)

#define START ...
  Topic: How can i read from serial ??
noyz

Replies: 4
Views: 5061

PostForum: General CCS C Discussion   Posted: Sat Jun 25, 2011 9:50 am   Subject: How can i read from serial ??
hi
how can i read from serial ?
i want to use interrupts..

so that i will have only one part where i can read from serial
and before that i will enable interrupts int rda
and then disable;

...
  Topic: Struct malloc and pointers problem
noyz

Replies: 7
Views: 8760

PostForum: General CCS C Discussion   Posted: Thu Jun 23, 2011 9:55 am   Subject: Struct malloc and pointers problem
please try my example in proteus..

and then write back..
it seems that is really strange this pointer thing in ccsc

write the whole working example.

thanks
  Topic: Struct malloc and pointers problem
noyz

Replies: 7
Views: 8760

PostForum: General CCS C Discussion   Posted: Thu Jun 23, 2011 9:45 am   Subject: Struct malloc and pointers problem
are you refering to

firstNode= malloc(sizeof(myNode));
lastNode= malloc(sizeof(myNode));

??
  Topic: Struct malloc and pointers problem
noyz

Replies: 7
Views: 8760

PostForum: General CCS C Discussion   Posted: Thu Jun 23, 2011 9:43 am   Subject: Struct malloc and pointers problem
i can't quite explain why.. but this is ok


firstNode = NULL;
lastNode = NULL;
myNode *nod = &firstNode;

nod->prev = NULL;
nod->value = 1;
nod->next = malloc ...
  Topic: EX_FAT.C not working
noyz

Replies: 2
Views: 4882

PostForum: General CCS C Discussion   Posted: Thu Jun 23, 2011 4:46 am   Subject: EX_FAT.C not working
i figured out that # device - pass string in ram.. must be first line.. before fuses.. Smile
  Topic: Struct malloc and pointers problem
noyz

Replies: 7
Views: 8760

PostForum: General CCS C Discussion   Posted: Thu Jun 23, 2011 4:44 am   Subject: Struct malloc and pointers problem
please test this in main



myNode *firstNode, *lastNode;
myNode *nod = firstNode;
nod->prev = null;
nod->value = ( long ) 11;
nod->next = malloc ( sizeof&# ...
  Topic: Serial output stops when i disconnect programmer
noyz

Replies: 7
Views: 7725

PostForum: General CCS C Discussion   Posted: Wed Jun 22, 2011 1:22 pm   Subject: Serial output stops when i disconnect programmer
sry .. one broken wire at serial communication.. the ground one.. so you were right
thanks.

and about that the program starts immediately.
if pic is powered you can reprogram it with icsp .. whil ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group