Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Setup 4Pro Rx, Compile and Touchscr issues
#11

Hello Wim-T,

I'm also using winRAR, but a quite old version (3.93). Don't know if this could be the problem.

   

Could you please reupload it in ZIP format?
Thank you.

Rgs.
Werk_AG
Reply
#12

(23-01-2022, 22:55)Werk_AG Wrote:  Hello Wim-T,

I'm also using winRAR, but a quite old version (3.93). Don't know if this could be the problem.



Could you please reupload it in ZIP format?
Thank you.

Rgs.
Werk_AG

Hello Werk_AG,

Find in the attachments my reupload nl_NL_UTF8.h in ZIP format.

With kind regards,
Wim


Attached Files
.zip nl_NL_UTF8.zip Size: 2,16 KB  Downloads: 2
Reply
#13

Hello Wim,

Your updated Dutch translation will be included on next releases of the 4Pro DB firmware.
Thank you very much for your collaboration.

Rgs.
Caneira

Reply
#14

Hello all, I am having issues with the touchscreen on my receiver, it is quite unresponsive to touch, typically requiring several taps in one spot to select a function or advance to the next screen. I loaded the calibration file and copied the numbers in the serial monitor then uncommented the calibration data  line in the touchscreen calibration section and inserted my calibration data but now it does not compile? It will compile with the data commented out.

I put the data in here:
 
Code:
//---------------------------------------------------------
//     Touch screen calibration
//---------------------------------------------------------
  uint16_t calData[5];
  if (ExternalEeprom_readInt(CalibDone_Eeprom_adr) != 1) touch_calibrate();

  #if (DISPLAY_TYPE == 1)
    uint16_t calData[5] = { 502, 3216, 520, 3021, 1 };
    for (uint8_t i = 0; i < 5; i++)
     {
       calData[i] = ExternalEeprom_readInt(CalibData1_Eeprom_adr + (i*2));
       delay(10);
     }
  #endif
  tft.setTouch(calData);[/i]


I get this error message, is it possible it has something to do with the libraries?
 
Code:
[i]Arduino: 1.8.19 (Mac OS X), Board: "MH ET LIVE ESP32MiniKit, 80MHz, Default with spiffs, 921600, None, Disabled"

/Users/user/Documents/Weatherduino/WeatherDuino_4PRO_DB-6 b-010/firmware/WeatherDuino_4PESP32_RX_v6.2_b010/WeatherDuino_4PESP32_RX_v6.2_b010.ino: In function 'void setup()':
WeatherDuino_4PESP32_RX_v6.2_b010:653:23: error: redeclaration of 'uint16_t calData [5]'
     uint16_t calData[5] = { 502, 3216, 520, 3021, 1 };
                       ^
/Users/user/Documents/Weatherduino/WeatherDuino_4PRO_DB-6 b-010/firmware/WeatherDuino_4PESP32_RX_v6.2_b010/WeatherDuino_4PESP32_RX_v6.2_b010.ino:649:12: note: 'uint16_t calData [5]' previously declared here
   uint16_t calData[5];
            ^~~~~~~
Multiple libraries were found for "WiFi.h"
 Used: /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.5/libraries/WiFi
 Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
 Not used: /Users/user/Documents/Arduino/libraries/WiFiEspAT
Multiple libraries were found for "RH_RF95.h"
 Used: /Users/user/Documents/Arduino/libraries/RadioHead_v1.119
 Not used: /Users/user/Documents/Arduino/libraries/RadioHead_v1.121
Multiple libraries were found for "TimeLib.h"
 Used: /Users/user/Documents/Arduino/libraries/Time-master
 Not used: /Users/user/Documents/Arduino/libraries/Time
Multiple libraries were found for "WebServer.h"
 Used: /Users/user/Library/Arduino15/packages/esp32/hardware/esp32/2.0.5/libraries/WebServer
 Not used: /Users/user/Documents/Arduino/libraries/ESPEssentials
exit status 1
redeclaration of 'uint16_t calData [5]'[/i]

Not sure what I'm doing wrong but the touch issues make it quite tricky to use so any help is appreciated,

Thanks!
Reply
#15

Hi,

Currently the WeatherDuino 4Pro Dual Band Receiver firmware automatically calls the touch screen calibration routine at first time it runs, and stores the calibration data on EEPROM. After that, to perform (and store) a new calibration data at startup, a byte must be cleared on the EEPROM at address 5330.

The easier way to do it is using the little utility attached bellow. After run it, reprogram the WeatherDuino 4Pro Dual Band Receiver. On first restart the receiver will ask you to perform a touch screen calibration. Calibration data will be stored on EEPRON. On next restarts or reboots, the screen calibration routine will not be show again. So do it carefully on first restart after having using the ClearTouchScreenCalibrationFlag utility.

.rar ClearTouchScreenCalibrationFlag.rar Size: 813 bytes  Downloads: 7


Rgs.
Werk_AG

Reply
#16

Thanks, that fixed it, it is much more responsive to finger inputs now. 

I'm also experiencing periodic crashes of the receiver, I made sure to compile the software with the included libraries and used the esp 2.0.5, is there anything else to check? 

Thanks in advance,

Zac
Reply
#17

(03-12-2022, 02:08)Nmweather Wrote:  Thanks, that fixed it, it is much more responsive to finger inputs now. 

Hi Zac,

Is good to know, thank you.

(03-12-2022, 02:08)Nmweather Wrote:  I'm also experiencing periodic crashes of the receiver, I made sure to compile the software with the included libraries and used the esp 2.0.5, is there anything else to check? 

Please open a new thread describing this issue the best was possible. I may need your Config_Opting.h file to try to reproduce it.

Latest firmware show system uptime also on the webpage.


   
Reply




Users browsing this thread: 1 Guest(s)