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

pic18f452 and dallas touch button on porte

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
delene



Joined: 13 Oct 2003
Posts: 32

View user's profile Send private message Send e-mail

pic18f452 and dallas touch button on porte
PostPosted: Fri May 27, 2005 8:41 am     Reply with quote

I have a dallas touch button reader connected to PIN_E2 of my PIC18f452 but it does not read any buttons.
I have the touch_bit set to 0xf84.2

If I change my code to be on PIN_B0 it works properly.

Any ideas of what I am missing.

I have setup_adc(ADC_OFF)
setup_psp(psp_disabled);

I am sure it is something silly.

Thanks
Delene
valemike
Guest







PostPosted: Fri May 27, 2005 11:56 am     Reply with quote

Be aware that PORTE.2 is A/D channel AN7. If you have A/D configured, make sure you don't have all the channels configured.

Other than that, RE2 is a regular digital I/O pin that you can toggle up and down (unlike the few open drain pins like RA4)
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group