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 72 matches
CCS Forum Index
Author Message
  Topic: Possible 1 PIC server and multiple clients with TCP/IP?
matheuslps

Replies: 3
Views: 5327

PostForum: General CCS C Discussion   Posted: Tue Jun 24, 2014 6:03 am   Subject: Possible 1 PIC server and multiple clients with TCP/IP?
Bump....
  Topic: Possible 1 PIC server and multiple clients with TCP/IP?
matheuslps

Replies: 3
Views: 5327

PostForum: General CCS C Discussion   Posted: Fri Jun 20, 2014 8:33 pm   Subject: Possible 1 PIC server and multiple clients with TCP/IP?
Hi, is it possible to have one PIC running a web server and multiple other PICs talk to this server?

Example:

Multiple PICs sending ADC values to the PIC that has the web server.

Can someone ...
  Topic: Sampling a signal at a given frequency
matheuslps

Replies: 10
Views: 18292

PostForum: General CCS C Discussion   Posted: Mon Apr 07, 2014 12:09 pm   Subject: Sampling a signal at a given frequency
Ttelmah, may you explain this code a little bit?

You configured the CCP like this:
setup_CCP2(CCP_COMPARE_RESET_TIMER);
CCP_2=399;
But, why 399? How this would interact with the 31.25uS ...
  Topic: [SOLVED]Convert hex from kbd.c to int
matheuslps

Replies: 2
Views: 4476

PostForum: General CCS C Discussion   Posted: Sun Feb 09, 2014 6:35 am   Subject: [SOLVED]Convert hex from kbd.c to int
amelia!!

Thanks. That worked!!!! So easy and I could not imagine that.

SOLVED!
  Topic: [SOLVED]Convert hex from kbd.c to int
matheuslps

Replies: 2
Views: 4476

PostForum: General CCS C Discussion   Posted: Sat Feb 08, 2014 7:52 pm   Subject: [SOLVED]Convert hex from kbd.c to int
I am using the kbc.c driver.

But it returns hex codes, like 0x35 = '5'.

How to make that return an int?

thanks.
  Topic: How to make precisely pulses
matheuslps

Replies: 9
Views: 15136

PostForum: General CCS C Discussion   Posted: Wed Dec 11, 2013 3:21 pm   Subject: How to make precisely pulses
Well, after some testing, I came with this:

The commented lines is because some people do not have the CCS version 5. I think the commented lines will not work with older version, so I make the old ...
  Topic: How to make precisely pulses
matheuslps

Replies: 9
Views: 15136

PostForum: General CCS C Discussion   Posted: Wed Dec 11, 2013 6:25 am   Subject: How to make precisely pulses
ok...from a 'design' viewpoint.

Need to know what else is the PIC supposed to do while pulsing the injectors?

For now, nothing. To tell the true. I am already using the uS and mS function for in ...
  Topic: How to make precisely pulses
matheuslps

Replies: 9
Views: 15136

PostForum: General CCS C Discussion   Posted: Tue Dec 10, 2013 11:46 am   Subject: How to make precisely pulses
@temtronic

I thought about the ms and us functions, but the uC will be frozen all the time during this tasks.

@Ttelmah

For now, this is just a prototype to test fuel nozzle.

So, in this mo ...
  Topic: How to make precisely pulses
matheuslps

Replies: 9
Views: 15136

PostForum: General CCS C Discussion   Posted: Mon Dec 09, 2013 7:10 pm   Subject: How to make precisely pulses
The project is to test diesel engines.

The pulses will be continuously. I will use some buttons and a LCD to set up the ON and OFF times.

I tried with:

setup_counters(RTCC_INTERNAL, RTCC_ ...
  Topic: How to make precisely pulses
matheuslps

Replies: 9
Views: 15136

PostForum: General CCS C Discussion   Posted: Mon Dec 09, 2013 5:12 pm   Subject: How to make precisely pulses
Hello, I am trying to make just some pulses with a 16F877A.

For now I am using a 4Mhz crystal.

Is it possible to make pulses like this?

ON OFF
2ms 398ms
1ms 149ms
1ms ...
  Topic: pgen
matheuslps

Replies: 16
Views: 40615

PostForum: General CCS C Discussion   Posted: Fri Dec 06, 2013 6:24 am   Subject: pgen
Hum.... very clever this kind of code.

Liked it.

Thanks for the reply.
  Topic: pgen
matheuslps

Replies: 16
Views: 40615

PostForum: General CCS C Discussion   Posted: Thu Dec 05, 2013 5:39 pm   Subject: pgen
Why the LOOPCNT = 39?

How did you get that number? I debugged and understand the code. But this 39 I can not understand.

I am trying to make a soft pwm 1 to 30 hz....

bye
  Topic: Why FFT.h do not compile on 18F?
matheuslps

Replies: 5
Views: 11373

PostForum: General CCS C Discussion   Posted: Sun Dec 01, 2013 1:12 pm   Subject: Why FFT.h do not compile on 18F?
So crystal=xxxMHz, clock=yyyMHz. The compiler will calculate the ratios needed.

That is a good! My confusion was right there because on 18F chips we have a lot off PLL div fuses to obtain the righ ...
  Topic: Why FFT.h do not compile on 18F?
matheuslps

Replies: 5
Views: 11373

PostForum: General CCS C Discussion   Posted: Sun Dec 01, 2013 10:56 am   Subject: Why FFT.h do not compile on 18F?
HUm..... OK I got the reason.

I tried to reproduce this FFT example but I do not have a 33FJ128GP706 from the example here. I just have a 33FJ32MC202 and a 33FJ32GP202 available. But since I never ...
  Topic: Why FFT.h do not compile on 18F?
matheuslps

Replies: 5
Views: 11373

PostForum: General CCS C Discussion   Posted: Sat Nov 30, 2013 9:11 pm   Subject: Why FFT.h do not compile on 18F?
I tried to do a simple test with the FFT.H and it is returning a EXPECTING AN OPCODE MNEMONIC error on the FFT.H file when the asm file begins.

I tried with the 18F4550 and the 18F25K20.

http:// ...
 
Page 1 of 5 Goto page 1, 2, 3, 4, 5  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group