konzen
Joined: 29 May 2008 Posts: 1
|
Reading DS1990A ibutton with PIC16F628A |
Posted: Thu May 29, 2008 9:34 pm |
|
|
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
|
|