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

Reading DS1990A ibutton with PIC16F628A

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



Joined: 29 May 2008
Posts: 1

View user's profile Send private message

Reading DS1990A ibutton with PIC16F628A
PostPosted: Thu May 29, 2008 9:34 pm     Reply with quote

Hey guys,

I used the code given in the examples section of the CCS compiler to read the ibutton but nothing occurs. the program waits in the 'waiting for touch device state' but when I touch the button to the reader, nothing happens.

I'm using CCS 4.057 and I've connected all the components correctly.
PIN b0 to 4.7k pullup resistor, data line of ibutton to PIN b0 and the other wire to ground.

I've tried a blinking LED and it works so my clock is correct.

for reference my code looks something like this.
Code:

////                             EX_TOUCH.C                          ////


and the library touch.c
Code:

////                        Dallas Touch Driver                        ////

I've been stuck for the past couple of weeks any help would be much appreciated thanks.




Code removed.
Ref. Forum Rule #10:
10. Don't post the CCS example code or drivers, or ask for such code and drivers.
-- Forum Moderator
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