• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomeScratchProject 13: Fan Controlled by Temperature (B)
Previous Next

Project 13: Fan Controlled by Temperature (B)

Posted by: admin , August 29, 2014

Write the script:

1. Click the role, then click the script to edit the commands

script

2. Clickcontrolchoose when click control when3. Click the Pin 1-1

Then choose  pin1-2

4. And input the following commands in line.

All done

When the temperature is lower then the setting number, the fan will turn off, when the temperature is higher then the setting, the fan will turn on.

Download the code:12-13fan.zip

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors