arduino-libraries / Arduino_MKRIoTCarrier

Use the features included with the Arduino MKR IoT Carrier
https://store.arduino.cc/mkr-iot-carrier
GNU Lesser General Public License v2.1
17 stars 12 forks source link

Add a new Buzzer.beep() helper method #38

Closed alranel closed 2 years ago

alranel commented 2 years ago

This pull request adds a beep() helper method that can be used to emit, well, a beep. It's useful when building a GUI for Oplà to provide feedback when buttons are touched etc.

github-actions[bot] commented 2 years ago

Memory usage change @ 901e14d238d0e655a053e83fcd6bac57b63cde7d

Board flash % RAM for global variables %
arduino:samd:mkrwifi1010 0 - 0 0.0 - 0.0 0 - 0 0.0 - 0.0
Click for full report table Board|examples/Actuators/Buzzer_Melody
flash|%|examples/Actuators/Buzzer_Melody
RAM for global variables|%|examples/Actuators/Relays_blink
flash|%|examples/Actuators/Relays_blink
RAM for global variables|%|examples/All_Features
flash|%|examples/All_Features
RAM for global variables|%|examples/Grove_Inputs
flash|%|examples/Grove_Inputs
RAM for global variables|%|examples/LEDs-Examples/strandtest
flash|%|examples/LEDs-Examples/strandtest
RAM for global variables|%|examples/SD_card
flash|%|examples/SD_card
RAM for global variables|%|examples/Sensors/ENV-HTS221/ReadSensors
flash|%|examples/Sensors/ENV-HTS221/ReadSensors
RAM for global variables|%|examples/Sensors/ENV-HTS221/ReadSensorsImperial
flash|%|examples/Sensors/ENV-HTS221/ReadSensorsImperial
RAM for global variables|%|examples/Sensors/IMU-LSM6DS3/SimpleAccelerometer
flash|%|examples/Sensors/IMU-LSM6DS3/SimpleAccelerometer
RAM for global variables|%|examples/Sensors/IMU-LSM6DS3/SimpleGyroscope
flash|%|examples/Sensors/IMU-LSM6DS3/SimpleGyroscope
RAM for global variables|%|examples/Sensors/Light-APDS9960/FullExample
flash|%|examples/Sensors/Light-APDS9960/FullExample
RAM for global variables|%|examples/Sensors/Light-APDS9960/GestureSensor
flash|%|examples/Sensors/Light-APDS9960/GestureSensor
RAM for global variables|%|examples/Sensors/Light-APDS9960/ProximitySensor
flash|%|examples/Sensors/Light-APDS9960/ProximitySensor
RAM for global variables|%|examples/Sensors/Light-APDS9960/Read_Colors
flash|%|examples/Sensors/Light-APDS9960/Read_Colors
RAM for global variables|%|examples/Sensors/Pressure-LPS22HB/ReadPressure
flash|%|examples/Sensors/Pressure-LPS22HB/ReadPressure
RAM for global variables|%|examples/Sensors/Pressure-LPS22HB/ReadPressureImperial
flash|%|examples/Sensors/Pressure-LPS22HB/ReadPressureImperial
RAM for global variables|%|examples/TouchPads/Custom_Sensitivity
flash|%|examples/TouchPads/Custom_Sensitivity
RAM for global variables|%|examples/TouchPads/Relays_control_Qtouch
flash|%|examples/TouchPads/Relays_control_Qtouch
RAM for global variables|%|examples/TouchPads/TouchTypes
flash|%|examples/TouchPads/TouchTypes
RAM for global variables|%|examples/TouchPads/Touch_and_LEDs
flash|%|examples/TouchPads/Touch_and_LEDs
RAM for global variables|%|examples/TouchPads/Touch_signals
flash|%|examples/TouchPads/Touch_signals
RAM for global variables|%|examples/TouchPads/getTouch
flash|%|examples/TouchPads/getTouch
RAM for global variables|%|examples/Display/Compose_images
flash|%|examples/Display/Compose_images
RAM for global variables|%|examples/Display/Graphics
flash|%|examples/Display/Graphics
RAM for global variables|% -|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|- arduino:samd:mkrwifi1010|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0|0|0.0
Click for full report CSV ``` Board,examples/Actuators/Buzzer_Melody
flash,%,examples/Actuators/Buzzer_Melody
RAM for global variables,%,examples/Actuators/Relays_blink
flash,%,examples/Actuators/Relays_blink
RAM for global variables,%,examples/All_Features
flash,%,examples/All_Features
RAM for global variables,%,examples/Grove_Inputs
flash,%,examples/Grove_Inputs
RAM for global variables,%,examples/LEDs-Examples/strandtest
flash,%,examples/LEDs-Examples/strandtest
RAM for global variables,%,examples/SD_card
flash,%,examples/SD_card
RAM for global variables,%,examples/Sensors/ENV-HTS221/ReadSensors
flash,%,examples/Sensors/ENV-HTS221/ReadSensors
RAM for global variables,%,examples/Sensors/ENV-HTS221/ReadSensorsImperial
flash,%,examples/Sensors/ENV-HTS221/ReadSensorsImperial
RAM for global variables,%,examples/Sensors/IMU-LSM6DS3/SimpleAccelerometer
flash,%,examples/Sensors/IMU-LSM6DS3/SimpleAccelerometer
RAM for global variables,%,examples/Sensors/IMU-LSM6DS3/SimpleGyroscope
flash,%,examples/Sensors/IMU-LSM6DS3/SimpleGyroscope
RAM for global variables,%,examples/Sensors/Light-APDS9960/FullExample
flash,%,examples/Sensors/Light-APDS9960/FullExample
RAM for global variables,%,examples/Sensors/Light-APDS9960/GestureSensor
flash,%,examples/Sensors/Light-APDS9960/GestureSensor
RAM for global variables,%,examples/Sensors/Light-APDS9960/ProximitySensor
flash,%,examples/Sensors/Light-APDS9960/ProximitySensor
RAM for global variables,%,examples/Sensors/Light-APDS9960/Read_Colors
flash,%,examples/Sensors/Light-APDS9960/Read_Colors
RAM for global variables,%,examples/Sensors/Pressure-LPS22HB/ReadPressure
flash,%,examples/Sensors/Pressure-LPS22HB/ReadPressure
RAM for global variables,%,examples/Sensors/Pressure-LPS22HB/ReadPressureImperial
flash,%,examples/Sensors/Pressure-LPS22HB/ReadPressureImperial
RAM for global variables,%,examples/TouchPads/Custom_Sensitivity
flash,%,examples/TouchPads/Custom_Sensitivity
RAM for global variables,%,examples/TouchPads/Relays_control_Qtouch
flash,%,examples/TouchPads/Relays_control_Qtouch
RAM for global variables,%,examples/TouchPads/TouchTypes
flash,%,examples/TouchPads/TouchTypes
RAM for global variables,%,examples/TouchPads/Touch_and_LEDs
flash,%,examples/TouchPads/Touch_and_LEDs
RAM for global variables,%,examples/TouchPads/Touch_signals
flash,%,examples/TouchPads/Touch_signals
RAM for global variables,%,examples/TouchPads/getTouch
flash,%,examples/TouchPads/getTouch
RAM for global variables,%,examples/Display/Compose_images
flash,%,examples/Display/Compose_images
RAM for global variables,%,examples/Display/Graphics
flash,%,examples/Display/Graphics
RAM for global variables,% arduino:samd:mkrwifi1010,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0,0,0.0 ```