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 30 matches
CCS Forum Index
Author Message
  Topic: unexpected change of variables (solved)
gs

Replies: 5
Views: 5073

PostForum: General CCS C Discussion   Posted: Mon Nov 30, 2009 12:42 pm   Subject: unexpected change of variables (solved)
Finally I solved the problem.

cseusy, did you also use graphics lcd?

I use fast glcd

My problem was created because I was displaying text at the bottom right corner of the lcd and the y value ...
  Topic: unexpected change of variables (solved)
gs

Replies: 5
Views: 5073

PostForum: General CCS C Discussion   Posted: Wed Nov 25, 2009 3:13 pm   Subject: unexpected change of variables (solved)
It is very big code to strip it down. It uses 18F4550 and a glcd 128*64

I use graphics.c and HDM64GS12.h math and string functions.


glcd_rect(x-1,y-1,x+29,y+7*size, YES, !color); ...
  Topic: unexpected change of variables (solved)
gs

Replies: 5
Views: 5073

PostForum: General CCS C Discussion   Posted: Tue Nov 24, 2009 4:15 pm   Subject: unexpected change of variables (solved)
Compiler version PCH 4.084
PIC18F4550

In my application I see that certain variables change, when a specific code part is executed. The change is always on the same byte, same bit.
If I define a ...
  Topic: Controlling floating pins
gs

Replies: 26
Views: 22082

PostForum: General CCS C Discussion   Posted: Mon Aug 10, 2009 8:38 am   Subject: Controlling floating pins
Do you have any capacitors on the circuit? MAX232 produces some noise that needs filtering.
  Topic: PID algorithm questions
gs

Replies: 12
Views: 13434

PostForum: General CCS C Discussion   Posted: Sat Jul 25, 2009 12:05 pm   Subject: PID algorithm questions
...

You're asking, how the integrator output can be cut back to near zero in equilibrum?. Typically, a small overshoot of the process value is required to achieve this.

Yes, I see this in my te ...
  Topic: PID algorithm questions
gs

Replies: 12
Views: 13434

PostForum: General CCS C Discussion   Posted: Sat Jul 25, 2009 6:02 am   Subject: PID algorithm questions
Hello I am trying to implement a PID controller to control temperature.

I have a question to make. The integral term is the sum of the past errors. ok but what happens when the error becomes small? ...
  Topic: DS1340 RTC driver
gs

Replies: 4
Views: 51025

PostForum: Code Library   Posted: Thu Mar 19, 2009 4:26 pm   Subject: DS1340 RTC driver
I don't see any settings on the datasheet specifically for the C version, but I noticed this:
All N.C. (no connect) pins must be connected
to ground.

I did not read thorougly the datasheet and th ...
  Topic: delay_ms disables global interrupt
gs

Replies: 3
Views: 6543

PostForum: General CCS C Discussion   Posted: Wed Mar 11, 2009 5:14 am   Subject: delay_ms disables global interrupt
Thank you both for the replies.

It was not a good idea to use the delay inside the interrupt, but I needed to see if the interrupt is working. I could use output_toggle instead. The real interrupt ...
  Topic: delay_ms disables global interrupt
gs

Replies: 3
Views: 6543

PostForum: General CCS C Discussion   Posted: Tue Mar 10, 2009 5:14 pm   Subject: delay_ms disables global interrupt
Hello, I have a simple test program that flashes a message on an lcd, and a timer1 interrupt that flashes a led. The message on the lcd is ok but the interrupt time does not work ok. The delay's used ...
  Topic: Converting to USB.....
gs

Replies: 5
Views: 6469

PostForum: General CCS C Discussion   Posted: Fri Jan 26, 2007 5:19 pm   Subject: Converting to USB.....
You can easily make your own USB to Serial converter out of a PIC. Drivers are standard and there is plenty of code available
Hey Mark, I'm interested in this could you point me to the right directio ...
  Topic: DS1340 RTC driver
gs

Replies: 4
Views: 51025

PostForum: Code Library   Posted: Sun Dec 17, 2006 9:32 am   Subject: DS1340 RTC driver
Hello, I finally got a DS1340 and played with it the last few days, I post here the results.

The driver checks for the OSF (Oscillator Stop Flag) to check data validity so if you are reading all z ...
  Topic: DS1340 RTC driver
gs

Replies: 0
Views: 3063

PostForum: General CCS C Discussion   Posted: Sat Dec 09, 2006 7:55 pm   Subject: DS1340 RTC driver
Has anyone used a DS1340 before? It is an i2c RTC from dallas-maxim.I would be grateful if you share some tested code.

I know it is almost the same as DS1307, and most if the code will be the same ...
  Topic: I2C on 16F88 fast and slow
gs

Replies: 8
Views: 13653

PostForum: General CCS C Discussion   Posted: Mon Nov 27, 2006 10:08 am   Subject: I2C on 16F88 fast and slow
Thank you all for your answers.
First I dont speak spanish. Greek is my native language.

The truth is that I solved the problem late last night (about 4:30 night) and I was too tired to post here. ...
  Topic: I2C on 16F88 fast and slow
gs

Replies: 8
Views: 13653

PostForum: General CCS C Discussion   Posted: Sun Nov 26, 2006 5:45 pm   Subject: I2C on 16F88 fast and slow
I would like to ask you something about the 24LC1025 driver.
Have you modified the 24512 file? If yes, what modifications have you made? do you have access above address 65535?

That's the 16bit li ...
  Topic: Printing out the info (printf) from your PIC using RS232
gs

Replies: 4
Views: 52280

PostForum: Code Library   Posted: Wed Sep 27, 2006 4:05 pm   Subject: Printing out the info (printf) from your PIC using RS232
You may use HyperTerminal to view the recieved data. It is in the accessories-> communications menu on you computer. Make a new connection and direct it to the com port you have your device connect ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group