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: Resetting PIC 16f690
jj9867

Replies: 1
Views: 5850

PostForum: General CCS C Discussion   Posted: Tue Apr 08, 2008 4:10 pm   Subject: Resetting PIC 16f690
I have seen previous posts on this topic and have tried all the suggestions with no luck.

I have a pic16f690. I am controlling four relays using pins C0, C1, C2, and C5. The chip works fine to turn ...
  Topic: Pic 16f690 pins shorted
jj9867

Replies: 10
Views: 11097

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 2:04 pm   Subject: it seems to work with the other lights
it seems to work with the other lights.

Yes you are right. I left the default that was generated by the wizard. I have played with a few of the settings but it does not seem to help. What should th ...
  Topic: Pic 16f690 pins shorted
jj9867

Replies: 10
Views: 11097

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 1:14 pm   Subject: code
no problem I probably should have posted the code in the first place...

here is the header file:

#include <16F690.h>
#device adc=8

#FUSES NOWDT //No Watch Dog Timer
# ...
  Topic: Pic 16f690 pins shorted
jj9867

Replies: 10
Views: 11097

PostForum: General CCS C Discussion   Posted: Tue Mar 04, 2008 11:52 am   Subject: still no luck
ok I tried disabling them using

setup_comparator(NC_NC_NC_NC);

still no luck.

I am using simple code just

set_tris_c(0);
output_c(0b00010111);

this just turn on bits 0,1, and 2. Bit ...
  Topic: Pic 16f690 pins shorted
jj9867

Replies: 10
Views: 11097

PostForum: General CCS C Discussion   Posted: Mon Mar 03, 2008 5:50 pm   Subject: Pic 16f690 pins shorted
Its 4.013.

That thread isn't very helpful, unfortunately. All other pins on port C work, except 3 and 4. In the other thread, they're doing stuff on pins 0 and 1.
  Topic: Pic 16f690 pins shorted
jj9867

Replies: 10
Views: 11097

PostForum: General CCS C Discussion   Posted: Mon Mar 03, 2008 5:37 pm   Subject: Pic 16f690 pins shorted
I'm having trouble with pins C3 and C4 on my pic. I first noticed it trying to output a byte to port C, and then individually output_high on pins to narrow it down.

output_high(pin_c3); turns on ...
  Topic: Devantech Thermal Array
jj9867

Replies: 2
Views: 3311

PostForum: General CCS C Discussion   Posted: Wed Feb 27, 2008 4:31 pm   Subject: Thanks
The stream address matched the one in the header file but I did not realize not to send the acknowledge bit....

Without that the sensor works flawlessly

Thanks
JJ
  Topic: Devantech Thermal Array
jj9867

Replies: 2
Views: 3311

PostForum: General CCS C Discussion   Posted: Wed Feb 27, 2008 12:54 pm   Subject: Devantech Thermal Array
Hi,

I am trying to get a Devantech Thermal Array Sensor TPA81 to work with my Picc 16f690 micro controller I am using the following code:

#include "thermal.h"

BYTE address,data ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group