[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Touch direction is inverted #564

Open
SSnoody opened this issue Aug 16, 2024 · 7 comments
Open

Touch direction is inverted #564

SSnoody opened this issue Aug 16, 2024 · 7 comments

Comments

@SSnoody
Copy link
SSnoody commented Aug 16, 2024

Describe the bug
Touch of the screen 2.4" got inverted

Expected behavior
The touch are inverted in all the menu's

Marauader.bug.mp4

Marauder (please complete the following information if applicable):

  • Firmware version: [e.g. v1.0.0]
@b00mekk
Copy link
b00mekk commented Aug 27, 2024

try modifying all TFT SHIELD calData to:
uint16_t calData[5] = { 293, 3547, 243, 3592, 3 };

@Fattcat
Copy link
Fattcat commented Oct 14, 2024

Hello, I HAVE EXACTLY SAME PROBLEM !
Please HELP ME how can I Fix it and which folder, line and command ?

@Fattcat
Copy link
Fattcat commented Oct 15, 2024

HELLOO. I FIXED IT !!!
go to here : https://github.com/Bodmer/TFT_eSPI/blob/master/examples/Generic/Touch_calibrate/Touch_calibrate.ino
NEXT step is to Upload that code and calibrate it :D

But ... Idk why IAM NOT ABLE TO COMPILE Arduino esp32 Marauder code from source when I edited ONLY TFT Display uint16_t calData[5] = { Here My Numbers };

error is here :
exit status 1

Compilation error: control reaches end of non-void function [-Werror=return-type]

@NoIdeaWhatImDoing-yes
Copy link

HELLOO. I FIXED IT !!!

go to here : https://github.com/Bodmer/TFT_eSPI/blob/master/examples/Generic/Touch_calibrate/Touch_calibrate.ino

NEXT step is to Upload that code and calibrate it :D

But ... Idk why IAM NOT ABLE TO COMPILE Arduino esp32 Marauder code from source when I edited ONLY TFT Display uint16_t calData[5] = { Here My Numbers };

error is here :

exit status 1

Compilation error: control reaches end of non-void function [-Werror=return-type]

I need help dude. I just started out and just built the esp32 marauder and I have the same problem, you told us how to fix it but I'm lost. Can you send me a vid or something, maybe even detailed instructions? If you do thank you so much!

@Fattcat
Copy link
Fattcat commented Oct 29, 2024

Hello Im finally here.
What is your problem ?
What u did and how (i need your steps to help u fix that)

  • U MUST have installed esp32 board version 2.0.14 (in Arduino IDE,BTW I Have Arduino IDE v2.3.2)
  • then ADD CORRECT LIBRARIES to your Arduino Library folder (where u have all library folders)
  • go to C:\Users\YourPCName\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.14
  • and there open "platform.txt" file and press on keyboard CTRL F (it will switche to easy search mode)
  • then type to search bar this : compiler.c.elf.flags.esp32= and hit ENTER
  • then add this : -zmuldefs to end of compiler.c.elf.flags.esp32= (it MUST be like this compiler.c.elf.flags.esp32=-zmuldefs ... and here DO NOT CHANGE ANYTHING)
  • hit CTRL S
  • then open your downloaded (from that LINK I gave) then open esp32_marauder.ino
  • go to TOOLS -> Sellect this : Erase All Sketch Before Upload : "Enabled"
  • go to TOOLS -> Partition Scheme: (and here sellect Minimap SPIFFS (1.9MB APP with OTA )
  • Sellect board ESP32 Dev Module
  • sellect your port for esp32
  • Find info about it (there is fixed code in settings.h exactly this line //#define TFT_SHIELD and uncommented #define TFT_DIY inside "configs.h")
  • U can directly go here : https://github.com/Fattcat/esp32-marauder

Check IMG

Settings

  • upload esp32_marauder.ino and it SHOULD now WORKS !!

IF YOU still have lot of problems with uploading code, I can make for you ".bin" file to easily flash without libraries.

  • Let me know if something happenned wrongly

Recently I started working on Shark Predator Firmware (more advanced abd hard now to do) this firmware will be able to do lot of types of attacks.

@casoncure
Copy link

@Fattcat pls make a bin code too hard :(

@Fattcat
Copy link
Fattcat commented Nov 3, 2024

@casoncure
Hello.
I want to know if u followed my step by step guide (if it was useful or was NOT)

YES, I can make .bin file for you.
I DID IT !
You can now download and flash it from here

  • (Just) download .rar file, unpack it to folder, then open that esp32 flasher and pick .bin files that u unpacked
  • Follow this photo if u have absolutelly no experiences or skills
  • INFO ! it may take 5 - 10 mins to flash (depends on your super fast PC xD)
    esp32-BIN-Flasher-tutorial
    !
  • Let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants