Quote Originally Posted by Acetronics View Post
Are you really sure of your OWIN parameters ???

I'm not !!!

Alain
Thank you. I am fairly new with Picbasic, but all that code is directly copied from rentron.com Picbasic sample page. Only changed the DS1820 ID. I again double checked the ID and the code. I have a check board with a suitable program and an LCD. I just plug in any DS18x20 and can I see immediately the ID and CRC-code. By the way, my english may not be good. I am from Finland.


See the original code at Rentron:

http://www.rentron.com/PicBasic/one-wire2.htm

and find Temp_1 label.

The code works exteremely well with my other programs with 16F87xx Pics. I also changed my sample code a bit and used GPIO.2 as data pin. Datasheet says "General Purpose IO-pin", just like PortC-pins on 16F87xx. But this tiny chip is against me. I have also tested another 12F508 without success. Maybe I have to give up