A mbed Port of 'Sparkfun Si4703 Arduino Library'.
Fork of Si4703 by
Diff: SparkFun-Si4703.h
- Revision:
- 3:9ac35cc4a0b0
- Parent:
- 2:558ef02f39d0
--- a/SparkFun-Si4703.h Sat Aug 08 18:15:36 2015 +0000 +++ b/SparkFun-Si4703.h Sat Jan 16 19:26:55 2016 +0000 @@ -58,7 +58,7 @@ void setVolume(int volume); // 0 to 15 uint8_t getVolume(); // Returns The Current Volume (0 .. 15) -/* void readRDS(char* message, long timeout); */ + void readRDS(char* message, long timeout); // message should be at least 9 chars // result will be null terminated // timeout in milliseconds @@ -96,8 +96,6 @@ static const uint16_t CHANNEL = 0x03; static const uint16_t SYSCONFIG1 = 0x04; static const uint16_t SYSCONFIG2 = 0x05; - static const uint16_t SYSCONFIG3 = 0x06; - static const uint16_t TEST1 = 0x07; static const uint16_t STATUSRSSI = 0x0A; static const uint16_t READCHAN = 0x0B; static const uint16_t RDSA = 0x0C; @@ -114,8 +112,6 @@ static const uint16_t SKMODE = 10; static const uint16_t SEEKUP = 9; static const uint16_t SEEK = 8; - static const uint16_t DISABLE = 6; - static const uint16_t ENABLE = 0; //Register 0x03 - CHANNEL static const uint16_t TUNE = 15; @@ -129,10 +125,6 @@ static const uint16_t SPACE0 = 4; static const uint16_t SEEKTH = 8; - //Register 0x06 - SYSCONFIG3 - static const uint16_t SKSNR = 4; - static const uint16_t SKCNT = 0; - //Register 0x0A - STATUSRSSI static const uint16_t RDSR = 15; static const uint16_t STC = 14; @@ -141,7 +133,6 @@ static const uint16_t RDSS = 11; static const uint16_t BLERA = 9; static const uint16_t STEREO = 8; - static const uint16_t RSSI = 0; }; #endif