diff --git a/src/Adafruit_Si4713.cpp b/src/Adafruit_Si4713.cpp index 6933cbb..7ecd7a9 100644 --- a/src/Adafruit_Si4713.cpp +++ b/src/Adafruit_Si4713.cpp @@ -330,7 +330,7 @@ void Adafruit_Si4713::powerUp() { // configuration! see page 254 setProperty(SI4713_PROP_REFCLK_FREQ, 32768); // crystal is 32.768 setProperty(SI4713_PROP_TX_PREEMPHASIS, 0); // 74uS pre-emph (USA std) - setProperty(SI4713_PROP_TX_ACOMP_GAIN, 10); // max gain? + setProperty(SI4713_PROP_TX_ACOMP_GAIN, 15); // max gain? // setProperty(SI4713_PROP_TX_ACOMP_ENABLE, 0x02); // turn on limiter, but no // dynamic ranging setProperty(SI4713_PROP_TX_ACOMP_ENABLE, 0x0); // turn on limiter and AGC diff --git a/src/main.cpp b/src/main.cpp index d87f90c..a0a06d5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -57,10 +57,10 @@ void do_i2c_scan() { */ Serial.print("\nSet TX power"); - radio->setTXpower(115, 55); // dBuV, 88-115 max, cap надо задать 0 и посмотреть сколько будет + radio->setTXpower(114, 0); // dBuV, 88-115 max, cap надо задать 0 и посмотреть сколько будет Serial.print("\nTuning into freq"); - radio->tuneFM(10740); // 100.0 mhz + radio->tuneFM(9600); // 96.00 mhz // This will tell you the status in case you want to read it from the chip radio->readTuneStatus(); @@ -70,7 +70,6 @@ void do_i2c_scan() { // begin the RDS/RDBS transmission radio->beginRDS(); radio->setRDSstation((char*)"FUCK YOU!1!"); - radio->setRDSbuffer( (char*)"Fisting is 300 bucks"); Serial.println("RDS on!"); @@ -84,4 +83,4 @@ void setup() { application(); // fuck(); } -void loop() { /* делаем ровно них*я */ } \ No newline at end of file +void loop() { /* делаем ровно них*я */ } diff --git a/src/web/web.cpp b/src/web/web.cpp index 460a1a3..a781b22 100644 --- a/src/web/web.cpp +++ b/src/web/web.cpp @@ -118,7 +118,7 @@ static void getHTML(HTTPRequest * req, HTTPResponse * res) { "\n" "\n" "
\n" - "

Lamps4 by Vlados31 & ESP32

\n" + "

Esp32 FM pirate

\n" "
\n" "
\n" "\n" @@ -240,7 +240,7 @@ static void getFavicon(HTTPRequest * req, HTTPResponse * res) { res->write(favicon_data, sizeof(favicon_data)); } -uint32_t output_frq = 8750; +uint32_t output_frq = 9600; std::string output_rds = "FUCK YOU!1!"; bool output_enable = false;