Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: Picprogman; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    13
    Views
    7,186

    Re: 12F508 and Dallas 1820 not working

    Oh sh*t!!!

    I had forgotten to connect a pull-up resistor to data pin, and that was the reason for non workin code. I am sorry, that I have caused trouble. The following works. Data pin is now back...
  2. Replies
    13
    Views
    7,186

    Re: 12F508 and Dallas 1820 not working

    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...
  3. Replies
    13
    Views
    7,186

    Re: 12F508 and Dallas 1820 not working

    "Instead :
    TRISIO =%00000010 '???? maybe wrong?
    try :
    TRISGPIO + %00000010"

    --> Syntax error
  4. Replies
    13
    Views
    7,186

    Re: 12F508 and Dallas 1820 not working

    Thank you again.

    The sensor ID is correct. I have tested the same sensor and the same piece of code with 16F876A using PortC.0, and I can read the sensor without any trouble. Hardware is ok,...
  5. Replies
    13
    Views
    7,186

    Re: 12F508 and Dallas 1820 not working

    Thanks.

    I do not know what OSCON has to do with this, because test program (led blink) works, so the program is running without any OSCON-setting. The orinal calibration value is there. The only...
  6. Replies
    13
    Views
    7,186

    Re: 12F508 and Dallas 1820 not working

    Sorry, I forgot to mention, that I use internal oscillator, and I have set that when programming the chip. I use Epic to program the chip, and internal oscillator is selected there. I tested...
  7. Replies
    13
    Views
    7,186

    12F508 and Dallas 1820 not working

    Hello

    I am old but new here, just found this forum.

    I have written several Picbasic Pro programs using 16F873 or later 16F876A, LCD-display and Dallas 1820 temperature sensors. Now I wanted to...
Results 1 to 7 of 7