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 5 matches
CCS Forum Index
Author Message
  Topic: Problem with port D not leaving pins high upon output_high
mnewbill

Replies: 7
Views: 9966

PostForum: General CCS C Discussion   Posted: Sun Apr 11, 2010 1:29 am   Subject: Problem with port D not leaving pins high upon output_high
Thanks, that fixed it!
If anybody wants to know the address it was:

#byte ANSEL = 0x188 // address of port D ANSEL IO control

void main()
{
ANSEL = 0x00; // Set A/D pins to al ...
  Topic: Problem with port D not leaving pins high upon output_high
mnewbill

Replies: 7
Views: 9966

PostForum: General CCS C Discussion   Posted: Sun Apr 11, 2010 12:55 am   Subject: Problem with port D not leaving pins high upon output_high
I think you are correct. Would somebody be so kind as to show me what the statement would look like in its proper syntax to edit the register in question?

Or some code that disables the analogue an ...
  Topic: Problem with port D not leaving pins high upon output_high
mnewbill

Replies: 7
Views: 9966

PostForum: General CCS C Discussion   Posted: Sat Apr 10, 2010 11:35 pm   Subject: Problem with port D not leaving pins high upon output_high
i think this is the issue, but i think it shouldnt do this. i hear about this shaddow register, but how is it implimented?
thanks
mark
  Topic: Problem with port D not leaving pins high upon output_high
mnewbill

Replies: 7
Views: 9966

PostForum: General CCS C Discussion   Posted: Sat Apr 10, 2010 11:13 pm   Subject: Problem with port D not leaving pins high upon output_high
Thanks for the tip. I don't know if that is my problem,
It is similar, I have a led in series with a 150 ohm resistor on the port pins, one for each pin. I have the same thing on port A and B. They b ...
  Topic: Problem with port D not leaving pins high upon output_high
mnewbill

Replies: 7
Views: 9966

PostForum: General CCS C Discussion   Posted: Sat Apr 10, 2010 10:36 pm   Subject: Problem with port D not leaving pins high upon output_high
Here is my code:

#include <16F724.H>
#fuses INTRC_IO, NOWDT, NOPROTECT, BROWNOUT, PUT
#use delay(clock=8000000)

//====================================
void main()
...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group