Temp project using LM34


Results 1 to 5 of 5

Threaded View

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


    Did you find this post helpful? Yes | No

    Default

    Code:
    PAUSE 200 ' or whatever
    if SW1=1 then
        LCDOUT "Temp=", DEC3 TEMP,DEG, "F" 
        ELSE
            LCDOUT "Temp=", DEC3 TEMPC,DEG, "C"
        ENDIF
    GOTO LOOP
    mmm SW1 is an Tact switch connected between PORTB.0 and PORTB.4 right?
    Last edited by mister_e; - 25th April 2007 at 16:46.
    Steve

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

Similar Threads

  1. Graphic LCD with PICbasic pro
    By amindzo in forum mel PIC BASIC Pro
    Replies: 41
    Last Post: - 25th November 2012, 11:45
  2. Stuck with 85C temp on ds18b20
    By revelator in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 3rd April 2009, 19:50
  3. Random Numbers
    By BobEdge in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 18th December 2008, 08:47
  4. help with write command
    By cphillips82 in forum General
    Replies: 9
    Last Post: - 20th April 2008, 23:49
  5. Project with PIC16F818 & LM34
    By fesparza in forum mel PIC BASIC
    Replies: 2
    Last Post: - 18th November 2005, 20:05

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