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 6 matches
CCS Forum Index
Author Message
  Topic: Need help with WatchDog problem
sh1

Replies: 3
Views: 6133

PostForum: General CCS C Discussion   Posted: Mon Jun 20, 2005 5:07 pm   Subject: Need help with WatchDog problem
don't take me wrong, dyeatman, just a small correction.

those 2 set_tris functions should be inside main, just before the do..while statement... ;)
  Topic: SRand()
sh1

Replies: 3
Views: 17445

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2005 6:31 am   Subject: SRand()
use:

srand(get_rtcc());

it generates the seed based on current time counter.
  Topic: Changing a the stdlib.h file...
sh1

Replies: 6
Views: 10810

PostForum: General CCS C Discussion   Posted: Mon Jun 13, 2005 6:30 am   Subject: Changing a the stdlib.h file...
You should do the following
#include <18F452.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=4000000) /* one instruction=1us? */
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7 ...
  Topic: need help...an easy problem
sh1

Replies: 5
Views: 7351

PostForum: General CCS C Discussion   Posted: Sun Apr 17, 2005 7:50 am   Subject: need help...an easy problem
I just don't understand one thing... If you're setting Port B as Output, why are you reading Input from it?

Also, like Felix Althaus said, if you're really interested in reading Input, you missed t ...
  Topic: load very big data stored in a computer file
sh1

Replies: 4
Views: 7000

PostForum: General CCS C Discussion   Posted: Sun Mar 20, 2005 2:37 pm   Subject: load very big data stored in a computer file
If it is only '0's and '1's, why don't you convert it to ninary format? instad of 98920 bytes, you'll have 98920 bits, 12365 bytes.
  Topic: Code protection
sh1

Replies: 1
Views: 27625

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Tue Mar 15, 2005 4:41 am   Subject: Code protection
If you just want to protect it from reading, add PROTECT to your #fuses clause. If there's a NOPROTECT already there, exchange it with PROTECT

If you want to protect against incidental overwrite, a ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group