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

#1 2013-04-02 18:30:12

Jeese
New Scratcher
Registered: 2013-04-02
Posts: 6

Help with script for slider.

Hello everyone,
I'm new scratcher and I would like to ask for your opinions here with my script, what is missing.
See picture below:

http://www.bildites.lv/viewer.php?file=qgqdv1kdkfeykbs9ceer.jpg

Well something is wrong and I don't really understand how to increase slider from 100 to 150 at least if i can't use any Motion.

Have to be like this
Pressure                LED colour                      Message
<100 (low)                Yellow (LEDs 3 and 4)    Low pressure warning
110 – 130 (normal)    Green (LEDs 1 and 2)    System normal
>135 (high)                Red (LEDs 5 and 6)            High pressure warning

Offline

 

#2 2013-04-02 18:34:26

Jeese
New Scratcher
Registered: 2013-04-02
Posts: 6

Re: Help with script for slider.

Jeese wrote:

Hello everyone,
I'm new scratcher and I would like to ask for your opinions here with my script, what is missing.
See picture below:

http://www.bildites.lv/viewer.php?file=qgqdv1kdkfeykbs9ceer.jpg

Well something is wrong and I don't really understand how to increase slider from 100 to 150 at least if i can't use any Motion.

Have to be like this
Pressure                LED colour                      Message
<100 (low)                Yellow (LEDs 3 and 4)    Low pressure warning
110 – 130 (normal)    Green (LEDs 1 and 2)    System normal
>135 (high)                Red (LEDs 5 and 6)            High pressure warning

Sorry for double post but I forgot to mention that I entered different numbers to check if everything is working somehow due I don't know, how exactly need to do [slider]sensor_values from 100 to 150 +.

Offline

 

#3 2013-04-02 21:45:12

7734f
Scratcher
Registered: 2010-12-23
Posts: 500+

Re: Help with script for slider.

Jeese wrote:

Jeese wrote:

Hello everyone,
I'm new scratcher and I would like to ask for your opinions here with my script, what is missing.
See picture below:

http://www.bildites.lv/viewer.php?file=qgqdv1kdkfeykbs9ceer.jpg

Well something is wrong and I don't really understand how to increase slider from 100 to 150 at least if i can't use any Motion.

Have to be like this
Pressure                LED colour                      Message
<100 (low)                Yellow (LEDs 3 and 4)    Low pressure warning
110 – 130 (normal)    Green (LEDs 1 and 2)    System normal
>135 (high)                Red (LEDs 5 and 6)            High pressure warning

Sorry for double post but I forgot to mention that I entered different numbers to check if everything is working somehow due I don't know, how exactly need to do [slider]sensor_values from 100 to 150 +.

I can't see the image. Can you upload it to tinypic or imageshack?


http://internetometer.com/image/38992.png   http://i37.tinypic.com/2qixx6c.png

Offline

 

#4 2013-04-03 02:35:20

Jeese
New Scratcher
Registered: 2013-04-02
Posts: 6

Re: Help with script for slider.

Sorry for your effort.
There you go:
http://tinypic.com/view.php?pic=s30t3k&s=6
I hope you can see it now.

Offline

 

#5 2013-04-03 18:46:19

7734f
Scratcher
Registered: 2010-12-23
Posts: 500+

Re: Help with script for slider.

Jeese wrote:

Sorry for your effort.
There you go:
http://oi47.tinypic.com/s30t3k.jpg
I hope you can see it now.

Cool scripts, but I don't know how you got those. Maybe go to Advanced Topics, and they can help. It's in the bottom section of the forums.

Last edited by 7734f (2013-04-03 18:46:56)


http://internetometer.com/image/38992.png   http://i37.tinypic.com/2qixx6c.png

Offline

 

#6 2013-04-08 04:55:07

Jeese
New Scratcher
Registered: 2013-04-02
Posts: 6

Re: Help with script for slider.

BUMP.
Would really appreciate any help.
Kind Regards.

Offline

 

Board footer