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
15
void
set_speaker
(
unsigned
char
bv);
16
17
volatile
unsigned
char
beatCounter=0;
18
volatile
unsigned
char
on_count = 0;
19
volatile
unsigned
char
delayMSBs=0;
20
volatile
unsigned
char
delayLSBs=0;
21
22
#endif
set_speaker
void set_speaker(unsigned char bv)
Set how loud and fast a speaker block will play.
cubelet_includes
speaker.h
Generated on Thu Jan 30 2025 for Cubelets API Documentation by
1.11.0