Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: coding question

  1. #1
    Regular Coder
    Join Date
    May 2009
    Posts
    813
    Thanks
    123
    Thanked 24 Times in 24 Posts

    coding question

    I am coding a program similar to Stratch but using lights.

    My program is:

    Clear LED lights
    set pressure to 130
    if steam pressure < 90
    turn on light 3
    turn on light 4
    warning: low pressure
    if pressure > 90 < = 110 (and this is the line that does not work)
    turn on light 1
    turn on light 2
    warning: pressure is normal

    and so on

    If the pressure is set to 111 it reads as normal when it should be high

    I know this maybe not the place for it, but it is a programming question, if no one can help then never mind
    Last edited by quartzy; 02-26-2013 at 02:06 AM. Reason: RESOLVED


 

Posting Permissions

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