need help with temperature and ventilation control


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Code:
    ;================================================
    heat:
    if tempr <= wa then heater = 1
    if tempr >= wa then heater = 0
    pause 30
    ;return
    ;================================================
    fa1:
    if tempr <= fan11 then fana1 = 0
    if tempr >= fan11 then fana1 = 1
    pause 30
    ;return
    ;================================================
    fa2:
    if tempr <= fan22 then fana2 = 0
    if tempr >= fan22 then fana2 = 1
    pause 30
    ;return
    ;================================================
    fa3:
    if tempr <= fan33 then fana3 = 0
    if tempr >= fan33 then fana3 = 1
    pause 30
    return
    ;================================================
    end
    If all is working like you want with the exception of the fans and the heater is working...
    wa is word size and fan11/22/33 are byte size.

    Could be some thing else but off the top that is what jumps out.
    Dave
    Always wear safety glasses while programming.

  2. #2


    Did you find this post helpful? Yes | No

    Lightbulb the hardware

    hi mackrackit
    thanks
    the hard ware my project...

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