-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathradio.h
More file actions
32 lines (30 loc) · 670 Bytes
/
radio.h
File metadata and controls
32 lines (30 loc) · 670 Bytes
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
void loop();
void tuneComplete();
void enableInterrupts();
void initModule();
void resetTuning();
void reset();
void powerOn();
void powerOff();
void volumeUp();
void volumeDown();
void seekUp();
void seekDown();
void writeConfigRegisters();
void dumpRegisters();
void printRegisterValue(char reg);
void freqUp();
void freqDown();
void muteOn();
void muteOff();
void printChannel();
void writeRegister(char regAddr,int data);
void writeRegisters();
void checkAck(char ack);
void tuneToChannel(int frequency);
void checkTuneComplete();
int readChannel();
unsigned int readRegister(int regAddr);
void printConfigRegisters();
void quit();
int openDevice(int i2cAddress);