ds 1990/ ibutton help


Closed Thread
Results 1 to 2 of 2
  1. #1
    roket's Avatar
    roket Guest

    Default ds 1990/ ibutton help

    i won't read ds1990 ibutton to microcontroller.but i don't understand reset to pic.because of this system isn't working.i will need microcontroller's basic program.i wrote the program:






    '************************************************* ***************
    '* Name : UNTITLED.BAS *
    '* Author : [select VIEW...EDITOR OPTIONS] *
    '* Notice : Copyright (c) 2005 [select VIEW...EDITOR OPTIONS] *
    '* : All Rights Reserved *
    '* Date : 09.07.2005 *
    '* Version : 1.0 *
    '* Notes : *
    '* : *
    '************************************************* ***************
    define osc 12
    trisb=0
    temp var byte [8]
    symbol ibutton=PortA.0
    OWOUT ibutton,1, [%00110011]
    Pause 100
    OWIN iButton,0,[temp[0],temp[1],temp[2],temp[3],temp[4],temp[5],temp[6],temp[7]]
    if temp[0]=2 then 'only family code '
    portb.1=1
    portb.2=0
    else
    portb.2=1
    portb.1=0
    endif
    end


    thank you for help

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Probably you'll find some tip on that thread
    http://www.picbasic.co.uk/forum/show...ghlight=ds1990
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Efficient comparison on data (iButton)
    By enigma in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 27th August 2010, 13:37
  2. Writing & Reading to iButton EEPROM
    By crhomberg in forum Code Examples
    Replies: 2
    Last Post: - 6th October 2008, 19:40
  3. Dallas IButton 1990 Presence pulse
    By enigma in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th August 2008, 22:04
  4. Need help PIC 18F2550 with DS 1302
    By christina86 in forum mel PIC BASIC
    Replies: 1
    Last Post: - 28th December 2007, 01:05
  5. DS1920 IButton
    By scottl in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 2nd November 2007, 00:39

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts