From ada8007e64eaad2ded83ba13522521b75ebaab19 Mon Sep 17 00:00:00 2001 From: Fatima Idrees Date: Wed, 28 May 2025 08:36:39 +0300 Subject: [PATCH] modified --- Buzzer.ubl | 16 ++++++++++++++++ README.md | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Buzzer.ubl diff --git a/Buzzer.ubl b/Buzzer.ubl new file mode 100644 index 0000000..1805732 --- /dev/null +++ b/Buzzer.ubl @@ -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 +} + diff --git a/README.md b/README.md index 84d5624..55f782c 100644 --- a/README.md +++ b/README.md @@ -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!