TFT_eSPI::getSetup() Method: Frequency Conversion is not correctly (?) #3640
Unanswered
JoJos1220
asked this question in
Q&A - General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bevor i open an Issue on the Lib, i would like to ask the community for theier help if i am wrong or got a missunderstanding:
I use the getSetup() Method for additional Debugging information in the field and i saw, that the Frequency Conversion of...
tft_settings.tft_spi_freq = SPI_FREQUENCY/100000; tft_settings.tft_rd_freq = SPI_READ_FREQUENCY/100000; tft_settings.tch_spi_freq = SPI_TOUCH_FREQUENCY/100000;
...is not done correctly at all. Within the Setup File, the Frequency is given in [Hz] and the conversion is dividing it by 100.000 so the resulting Frequenzy is actually not correctly in [MHz] and also not in [kHz]. I am currently solving this issue, by giving the setup information back and re-divide those Frequencys by 10 again to get back to [MHz].
What would you say to that behaviour? Bug? Issue?
Greetings from Austria :)
Beta Was this translation helpful? Give feedback.
All reactions