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 8 matches
CCS Forum Index
Author Message
  Topic: How to store float in EEPROM??
Falgellus

Replies: 2
Views: 8634

PostForum: General CCS C Discussion   Posted: Wed Mar 29, 2006 11:38 am   Subject: How to store float in EEPROM??
Thank you very much Ttelmah, changing as you said all is ok.

Bye
  Topic: How to store float in EEPROM??
Falgellus

Replies: 2
Views: 8634

PostForum: General CCS C Discussion   Posted: Wed Mar 29, 2006 9:08 am   Subject: How to store float in EEPROM??
If you see the ccs help you can find this:

-----------------------------------------------------------------------------
How do I write variables to EEPROM that are not a byte?

The following is ...
  Topic: Serial problem after eeprom write
Falgellus

Replies: 4
Views: 6415

PostForum: General CCS C Discussion   Posted: Tue Feb 21, 2006 1:29 am   Subject: Serial problem after eeprom write
An EEPROM write puts the PIC to sleep for about 1 to 5ms (depending on the PIC). You may lose interrupts during this time.
_________________
Regards, Andrew

Ok, but the serial problem arises from ...
  Topic: Serial problem after eeprom write
Falgellus

Replies: 4
Views: 6415

PostForum: General CCS C Discussion   Posted: Mon Feb 20, 2006 4:21 pm   Subject: Serial problem after eeprom write
Anyone has just had a problem on serial after a write_eeprom function??

I'm using a 16f876 pic which performs a control of an automatic window open close motion. I control the micro on site or by a ...
  Topic: How can i make this routine smaller and efficientely
Falgellus

Replies: 7
Views: 8145

PostForum: General CCS C Discussion   Posted: Mon Feb 13, 2006 1:56 am   Subject: more efficient
int32 dv=10;

for (i=0; i<8 ; i++ )
{
if (num<(dv/10))
led_data[i] = SEGMENT_CHAR_BLANK;
else
led_data[i]=(num%(dv))/(dv/10);

dv *= 10;
}


Caution: I have not teste ...
  Topic: How to reset a SLEEP by rs232 interrupt
Falgellus

Replies: 3
Views: 7309

PostForum: General CCS C Discussion   Posted: Mon Feb 13, 2006 1:37 am   Subject: using 16f876A
Thank you, i'm using a 16F876A, but I checked that it hasn't the EUSART. I 'll try to wire the EXT_INT pin.

Thank You

Paolo
  Topic: How can i make this routine smaller and efficientely
Falgellus

Replies: 7
Views: 8145

PostForum: General CCS C Discussion   Posted: Sun Feb 12, 2006 9:21 am   Subject: How can i make this routine smaller and efficientely
Something like that:

int32 dv=10;

for (i=0; i<8 ; i++ )
{
led_data[i]=(num%(dv))/(dv/10);
if (num<(dv/10)) led_data[i] = SEGMENT_CHAR_BLANK;
dv *= 10;
}


Caution: I have not tes ...
  Topic: How to reset a SLEEP by rs232 interrupt
Falgellus

Replies: 3
Views: 7309

PostForum: General CCS C Discussion   Posted: Sun Feb 12, 2006 8:48 am   Subject: How to reset a SLEEP by rs232 interrupt
HALLO ALL

I have a program that controls a door open close, all is ok and when the engine is off the pic is set in sleep mode. The sleep mode is then reset by the ON button press.

Now I need to ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group