Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gitmasternikanjam/buzzeralarm_arduino
Simple arduino library for control active buzzer alarms.
https://github.com/gitmasternikanjam/buzzeralarm_arduino
Last synced: about 1 month ago
JSON representation
Simple arduino library for control active buzzer alarms.
- Host: GitHub
- URL: https://github.com/gitmasternikanjam/buzzeralarm_arduino
- Owner: GitMasterNikanjam
- Created: 2024-10-18T14:50:12.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-05T05:22:25.000Z (2 months ago)
- Last Synced: 2024-11-05T06:23:10.678Z (2 months ago)
- Language: C++
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# library for Arduino
- This library can be used to control active buzzer sounds.
- There are some predefined functions to create sounds with a buzzer.
- This library is compatible with all boards or MCUs that are compatible with the Arduino IDE.
- ⚠️ **Warning:** Warning: All alarm sounds are generated in time block mode.## Public Member Functions
```c++
bool init(void); // Initial object. start digital GPIO ouput mode. Check parameters.
void soundInit(void); // Alarm for finished initial and configurations something.
void soundStop(void); // Alarm for stop something action for operations.
void soundWarning_1(void); // Alarm type_1 for warning happening.
void soundWarning_2(void); // Alarm type_2 for warning happening.
void soundWarning_3(void); // Alarm type_3 for warning happening.
void on(void); // turn on sound.
void off(void); // turn off sound.```
## Public Member Variables
```c++
String errorMessage; // Last error accured for object.
struct ParametersStruct parameters; // Structure variable for parameters. parameters include: PIN_NUM, ACTIVE_MODE```