kopia lustrzana https://github.com/ArcticSaturn/RFM02
several changes
rodzic
aa2889677b
commit
dde96419c2
10
rfm02.cpp
10
rfm02.cpp
|
@ -83,12 +83,12 @@ void RFM02::writeRegister(uint8_t HighByte, uint8_t LowByte) {
|
|||
|
||||
void RFM02::configureDeviceSettings() {
|
||||
writeRegister(0xCC,0x00); // read status
|
||||
writeRegister(0x90,0x8A); // 868MHz Band +/- 90kHz Bandbreite
|
||||
writeRegister(0xA6,0x86); // 868 MHz
|
||||
writeRegister(0xD0,0x40); // RATE/2
|
||||
writeRegister(0xC8,0x23); // 4.8kbps
|
||||
writeRegister(0x90,0x82); // 868MHz Band +/- 90kHz Bandbreite
|
||||
writeRegister(0xA6,0x86); // 868.35 MHz
|
||||
//writeRegister(0xD0,0x40); // RATE/2
|
||||
writeRegister(0xC8,0x47); // 4.8kbps
|
||||
writeRegister(0xC2,0x20); // Bit Sync active
|
||||
writeRegister(0xB0,0x00); // 0dBm output power
|
||||
writeRegister(0xB3,0x00); // 0dBm output power
|
||||
writeRegister(0xC0,0x01); // disable TX
|
||||
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue