Cubelets API Documentation 2.0
C API
Loading...
Searching...
No Matches
speaker.h
Go to the documentation of this file.
1
5#ifndef SPEAKER_H
6#define SPEAKER_H
7
8#define set_actuator_value(bv) set_speaker(bv)
9
15void set_speaker(unsigned char bv);
16
17volatile unsigned char beatCounter=0;
18volatile unsigned char on_count = 0;
19volatile unsigned char delayMSBs=0;
20volatile unsigned char delayLSBs=0;
21
22#endif
void set_speaker(unsigned char bv)
Set how loud and fast a speaker block will play.