1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#include <Arduino.h>
#include "settings.h"
#include "rgb.h"
#include "oled.h"
#include "Buzzer.h"
RGB rgb;
BUZZER buzzer;
void setup()
{}
void loop()
{
// buzzer.playMelody(happy, 8);
// delay(1000);
// buzzer.playMelody(anger, 8);
// delay(1000);
// buzzer.playMelody(alaarm, 9);
// delay(1000);
// buzzer.playMelody(surprise, 9);
// delay(1000);
//buzzer.playMelody(melody, 8);
// rgb.setColorRGB(255, 0, 0, true);
// delay(1000);
// rgb.fadeColor(0, 255, 0, 1000);
// delay(1000);
// rgb.blink(3, 500);
// delay(1000);
// rgb.breathe(4, 1000);
// rgb.rainbowCycle(8000, 1.0);
// rgb.setColorRGB(0, 0, 0, true);
// delay(1000);
// rgb.rainbowCycle(8000, 1);
// rgb.setColorRGB(0, 0, 0, true);
// delay(1000);
// rgb.rainbowCycle(8000, 2);
}
|