This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-03-29 11:44:00

zacarias
New Scratcher
Registered: 2012-03-29
Posts: 1

I need help!!!!

This is a progamme with monitoring the temperatue and the pressure on the floor in the office. Temperature and pressure sesnsor to be used on the senseboard.
The system start with the ambient temperature every nimute.
It sets three levels of alert.

The systen start at level black

A pressure is generated if a pressure sensor is activated.

A temperature alert is generated if a temperature of 20% or more over the vbaseline temperature.

If a state arises in which there have been two or more alerts of any kind ( presure or Temperature) . Then the system go to alert level grey.

If a state arises in which there have been four or more alerts of any kind ( pressure or temperature) then the system moves to alert level white.


Script   When I recive (evaluateStatus)

Script   When _I _receive (esetSystem)

Script   Whem_green_flag _clicked

Offline

 

Board footer