firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Add Inversion Toggle Feature in Config

Open Asmodeux2 opened this issue 2 years ago • 11 comments


Description:

Background: Currently, to enable or disable inversion, we need to create separate firmware images with the flags -DTFT_INVERSION_ON or -DTFT_INVERSION_OFF. This approach leads to multiple firmware images for a single feature, which is inefficient and cumbersome.

Proposal: To streamline the process and provide more flexibility to the users, we propose adding an inversion toggle feature directly in the Config section of the firmware. This way, users can easily enable or disable inversion without the need for multiple firmware images.

Benefits:

  1. Simplified User Experience: Users can toggle inversion on or off directly from the Config menu, making the firmware more user-friendly.
  2. Reduced Firmware Variants: Eliminates the need to maintain and distribute multiple firmware images for a single feature.
  3. Efficient Development: Simplifies the development and testing process by reducing the number of firmware variants.

Implementation Steps:

  1. Add a new configuration option in the firmware settings menu to toggle inversion on or off.
  2. Update the firmware code to read this configuration option and apply the corresponding inversion setting.
  3. Test the new feature thoroughly to ensure it works as expected and does not introduce any new issues.

Expected Outcome: Users will have a more flexible and user-friendly way to control the inversion feature, and the development team will have a simpler and more efficient process for managing firmware variants.

Additional Notes:

  • Ensure that the new configuration option is well-documented in the user manual and any relevant documentation.
  • Consider adding a default setting for the inversion toggle to maintain backward compatibility.

Labels:

  • enhancement
  • feature-request
  • config

Assignees:

  • @bmorcelli

Milestone:

  • Next Release

Please review and provide feedback or any additional suggestions.

Best regards, Asmodeux2

Asmodeux2 avatar Nov 20 '24 19:11 Asmodeux2

Assignees

Hhahahaha

Resquest like these make me thirsty for many cups of coffee

bmorcelli avatar Nov 20 '24 19:11 bmorcelli

Assignees

Hhahahaha

Resquest like these make me thirsty for many cups of coffee

I'd love to give you many mugs of coffee, but the problem is that I'm from Russia.Screenshot_20241120_230537_Chrome.jpg

Asmodeux2 avatar Nov 20 '24 20:11 Asmodeux2

Please test flashing this version

Screenshot_20241120-221212.png

bmorcelli avatar Nov 21 '24 01:11 bmorcelli

All work

Asmodeux2 avatar Nov 21 '24 11:11 Asmodeux2

Rename pls to ESP32-2432S024C @bmorcelli

Asmodeux2 avatar Nov 21 '24 11:11 Asmodeux2

But that is for 2.8" display (at least in the code) Edit: the name you want is for 2.4" display, which Idk if works or not

bmorcelli avatar Nov 21 '24 11:11 bmorcelli

But that is for 2.8" display (at least in the code) Edit: the name you want is for 2.4" display, which Idk if works or not

But it works fine on the ESP32-2432S024C. And many people in Russia use ESP32-2432S028, ESP32-2432S024C

Asmodeux2 avatar Nov 21 '24 11:11 Asmodeux2

But that is for 2.8" display (at least in the code) Edit: the name you want is for 2.4" display, which Idk if works or not

It also integrates a touch screen support library with the CST820 module, which also works perfectly. My friend @Teapot321 and many others who have installed the firmware can confirm this.

Asmodeux2 avatar Nov 21 '24 11:11 Asmodeux2

@bmorcelli Sample rename CYD-2432W328C_2 -> CYD-2432S024C

Asmodeux2 avatar Nov 21 '24 11:11 Asmodeux2

~~But that is for 2.8" display (at least in the code)~~

Calm brother, it is building the flasher, take it easy

bmorcelli avatar Nov 21 '24 11:11 bmorcelli

Okay, man, you know better. And you're pretty cool, too.👍🏻

Asmodeux2 avatar Nov 21 '24 12:11 Asmodeux2