modified
This commit is contained in:
parent
4a54e2dd99
commit
ada8007e64
16
Buzzer.ubl
Normal file
16
Buzzer.ubl
Normal file
@ -0,0 +1,16 @@
|
||||
module Buzzer
|
||||
author unknown
|
||||
version 1 0
|
||||
description ''
|
||||
|
||||
spec ' ' 'Buzzer' 'Buzzer Pin _ State _' 'auto bool' 5 true
|
||||
spec ' ' 'Buzzer2 Pin' 'Buzzer Pin _ Note _' 'auto auto' 5 1000
|
||||
|
||||
to Buzzer Pin State {
|
||||
digitalWriteOp Pin State
|
||||
}
|
||||
|
||||
to 'Buzzer2 Pin' Pin Note {
|
||||
analogWriteOp Pin Note
|
||||
}
|
||||
|
@ -48,7 +48,8 @@ This library makes it easy for anyone—even if you don’t know how to code or
|
||||
4. **Drag the blocks** you want to use into your script area.
|
||||
- For example:
|
||||
- “Set Pin Value
|
||||
- Change LED Color"
|
||||
- Turn Buzzer On and Off
|
||||
- Change Note"
|
||||
|
||||
5. **Click the green flag** or “Run” to start controlling your fan!
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user