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

Missing ENC_BTN in pins file when i use SPI COLOR TFT with BTT GTR #22161

Closed
djdoubleg opened this issue Jun 17, 2021 · 6 comments
Closed

Missing ENC_BTN in pins file when i use SPI COLOR TFT with BTT GTR #22161

djdoubleg opened this issue Jun 17, 2021 · 6 comments

Comments

@djdoubleg
Copy link

djdoubleg commented Jun 17, 2021

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

Without last line cannot use the knob.
#if ANY(TFT_COLOR_UI, TFT_LVGL_UI, TFT_CLASSIC_UI)

#define TFT_CS_PIN EXP2_07_PIN
#define TFT_A0_PIN EXP2_04_PIN
#define TFT_SCK_PIN EXP2_09_PIN
#define TFT_MISO_PIN EXP2_10_PIN
#define TFT_MOSI_PIN EXP2_05_PIN

#define TOUCH_INT_PIN EXP1_04_PIN
#define TOUCH_MISO_PIN EXP1_05_PIN
#define TOUCH_MOSI_PIN EXP1_08_PIN
#define TOUCH_SCK_PIN EXP1_06_PIN
#define TOUCH_CS_PIN EXP1_07_PIN
#define BTN_EN1 EXP2_08_PIN
#define BTN_EN2 EXP2_06_PIN
#define BTN_ENC EXP1_09_PIN <------ this line is missing in 2.0.9 GTR pins config

Bug Timeline

NEW (new pin config file)

Expected behavior

I expect the push button would work.

Actual behavior

The knob button did not work

Steps to Reproduce

Compile the code
Update the FW.
Then the knob not work.

Version of Marlin Firmware

2.0.9

Printer model

Self designed with BTT GTR

Electronics

No response

Add-ons

No response

Your Slicer

Cura

Host Software

OctoPrint

Additional information & file uploads

Insert this line to TFT defined section.
#define BTN_ENC EXP1_09_PIN

@looxonline
Copy link
Contributor

looxonline commented Jun 17, 2021

Grubits, don't you learn not to mention unreleased products? If you have a fix, thats great. Use it, but there is no need to mention a product that has still not been announced by the manufacturer in your report.

@djdoubleg
Copy link
Author

Grubits, don't you learn not to mention unreleased products? If you have a fix, thats great. Use it, but there is no need to mention a product that has still not been announced by the manufacturer in your report.

What do you think?
Show me where I mention anything?

@djdoubleg
Copy link
Author

djdoubleg commented Jun 17, 2021

i use this SPI COLOR TFT with external rotary switch/knob.
kép
Please explain the accusation.

@thisiskeithb
Copy link
Member

Fixed in #22162

@looxonline
Copy link
Contributor

Grubits, don't you learn not to mention unreleased products? If you have a fix, thats great. Use it, but there is no need to mention a product that has still not been announced by the manufacturer in your report.

What do you think?
Show me where I mention anything?

You are correct. I misread the title of the report and typed too fast before going to bed. My apologies.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants