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

HOW CAN I USE ST7735 DISPLAY WITH THE CODE #12

Open
eydoooo opened this issue Jan 10, 2024 · 14 comments
Open

HOW CAN I USE ST7735 DISPLAY WITH THE CODE #12

eydoooo opened this issue Jan 10, 2024 · 14 comments

Comments

@eydoooo
Copy link

eydoooo commented Jan 10, 2024

i cant use st7735 with the code and im a beginner so im not sure what to change in the code

@simplyrohan
Copy link

I'm currently working on it. I'll let you know if I get it to work

@simplyrohan
Copy link

https://github.com/simplyrohan/doom-nano

In constants.h set your your display to color or not. Also in display.h set the pins for your screen

@eydoooo
Copy link
Author

eydoooo commented Jun 26, 2024

Are these the only steps? I'm currently not home yet
and i will work on it as soon as im home. Also Thanks for helping me.

https://github.com/simplyrohan/doom-nano

In constants.h set your your display to color or not. Also in display.h set the pins for your screen

@simplyrohan
Copy link

You may need to make some hardware adjustments but they should mostly be in display.h and constants.h. Also, you will need to adjust for if you have INPUT_PULLUP buttons or not. Let me know if you have questions

@simplyrohan
Copy link

You can also check the commit that I made that contained all the changes I made.
Commit

@eydoooo
Copy link
Author

eydoooo commented Jul 4, 2024

You can also check the commit that I made that contained all the changes I made. Commit

Thanks alot for helping me. I'm guessing the commit is the changed display.h/constant.h code?
I'm not really used to github so most of the things I don't know just yet.

@simplyrohan
Copy link

Yup, that's correct! But all of those use my display and hardware setup. Just change the pin definitions (they are all labeled) to your setup

@eydoooo
Copy link
Author

eydoooo commented Jul 4, 2024

Yup, that's correct! But all of those use my display and hardware setup. Just change the pin definitions (they are all labeled) to your setup

Thanks man your a G

@simplyrohan
Copy link

Let me know if it works

@eydoooo
Copy link
Author

eydoooo commented Jul 8, 2024

Let me know if it works

i get this error class Adafruit_SSD1306<128, 64>' has no member named 'fillScreen
im guessing its related to the display.h code but i cant find it.

@simplyrohan
Copy link

I think you are using the old display.h (in this repository). It seems you are only using my main script. To use all if my modifications use
git clone https://github.com/simplyrohan/doom-nano

You will need to redo the changes though

@eydoooo
Copy link
Author

eydoooo commented Jul 8, 2024

I think you are using the old display.h (in this repository). It seems you are only using my main script. To use all if my modifications use git clone https://github.com/simplyrohan/doom-nano

You will need to redo the changes though

im sorry i didnt quiet understand. can u please explain to me in monkey terms?😊

EDIT: ok so i opened the link u provided me (https://github.com/simplyrohan/doom-nano) and it took me to ur commit which i then downloaded the zip file and when i opened it it still gave me the same error.

@simplyrohan
Copy link

Hmm strange, I'll check it out tommorow

@simplyrohan
Copy link

Really sorry for the late reply

Could you list out what you did step by step to upload the code to the board. Can you also paste the error

I doubt that its the same error as my fork doesn't use the same display object

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

2 participants