If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

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