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: assistance required in magnetic reed switch and push button
lcs87

Replies: 10
Views: 7768

PostForum: General CCS C Discussion   Posted: Thu Jul 08, 2010 5:26 am   Subject: assistance required in magnetic reed switch and push button
latest update: it seem that there is a problem with the switch or something, i change the way the switch connect to the pin(5V-->10k resistor-->pin C1) and it magically worked. I do not know why ...
  Topic: assistance required in magnetic reed switch and push button
lcs87

Replies: 10
Views: 7768

PostForum: General CCS C Discussion   Posted: Thu Jul 08, 2010 4:20 am   Subject: assistance required in magnetic reed switch and push button
i edited the code above, i believe it was something to do with the 1st infinite loop. do i have to add a "else{" after the code below? or it will automatically go to the lower part when the ...
  Topic: assistance required in magnetic reed switch and push button
lcs87

Replies: 10
Views: 7768

PostForum: General CCS C Discussion   Posted: Thu Jul 08, 2010 2:54 am   Subject: assistance required in magnetic reed switch and push button
thank for all the inputs, Very Happy . it seems that after some checking, i found out that my reed switch is dead, and that is what been causing the problems. However, with the old issue solved, i now ha ...
  Topic: assistance required in magnetic reed switch and push button
lcs87

Replies: 10
Views: 7768

PostForum: General CCS C Discussion   Posted: Wed Jul 07, 2010 5:42 pm   Subject: assistance required in magnetic reed switch and push button
update: I tried the push button. It worked inconsistenly, sometimes it just run off to another function, displaying other output from other functions, but the magnetic reed is still having some proble ...
  Topic: assistance required in magnetic reed switch and push button
lcs87

Replies: 10
Views: 7768

PostForum: General CCS C Discussion   Posted: Wed Jul 07, 2010 5:12 pm   Subject: assistance required in magnetic reed switch and push button
First off, I would like to thank you all for the reply, I will try to isolate the switch part. I will update with the latest result later.

edit:i think my compiler is ver4.068
  Topic: assistance required in magnetic reed switch and push button
lcs87

Replies: 10
Views: 7768

PostForum: General CCS C Discussion   Posted: Wed Jul 07, 2010 8:37 am   Subject: assistance required in magnetic reed switch and push button
Hi, recently I build a security system which involves locking, unlocking, and password changing with the use of PIC16F877A. The code for the software goes quite well, until when I try to add in a magn ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group