jnthas / cw-cf-0x01

Clockwise's Mario clockface
6 stars 2 forks source link

Mario bros clock stuck in a loop, #1

Open demofilm opened 2 years ago

demofilm commented 2 years ago

Dear Creator of this awesome clock, i am new to everything related to coding. so forgive me for my stupidity, i just want to learn. I have the wroom esp32 running your bros clock code. and conected it to the adafruit 64/32 led matrix. then i realized i have the wrong resolution panel.... thinking i could maybe change this in the clock i tried to acces this via the ip adres. if you do that it gets stuck in a loop.

so how is the best way to tackle this... or should i just re flash the esp and buy the right resolution matrix ;) .

or maybe if i know how to edit the code in pio visual studio? i could maybe adapt the resolution?

jnthas commented 2 years ago

Hi there. That's right, the mario clock only works with 64x64 displays. Unfortunately, resizing the sprites will deform everything I don't think you will get a good result. It's possible to do some changes in the code, like remove elements like cloud and bushes, resize the blocks that are 19x19 today and have the clock working in portrait mode. It's something I can think about in the future, but nowadays, the easiest way is having a 64x64 display.

jjlarenillas commented 4 months ago

Hello how am I as the colleague, but I have Two panels of 64x32 if I connect them in series it does not behave as one, I know that I would have to configure as mxconfig 64,32,2 but I have not much idea you could implement in the webkit something so that the type of panel can be configured, thanks

jnthas commented 4 months ago

Hey guys. I've never tested using two 64x32 displays. I believe it should work but like @jjlarenillas said, it's necessary to change the config here. If you guys have the opportunity, I would like to hear if it worked.

Install platformIO and configure the project like described here -> https://github.com/jnthas/clockwise/tree/main?tab=readme-ov-file#how-to-change-the-clockface-platformio

jjlarenillas commented 4 months ago

Hello, sorry for the inconvenience, I was trying to compile the changes to be able to configure whether it is a single 64x64 Matrix or 2 64x32 or more units but I can't do something right, could you implement that type of configuration before just uploading the binaries via the web or an option via IP to configure after uploading, I don't know if I explained it well, thanks anyway for reading me

jnthas commented 4 months ago

Alright. I can do it on weekend.

jjlarenillas commented 4 months ago

Thank you very much for your time and work

jnthas commented 3 months ago

Hi @jjlarenillas. Sorry the delay. Please see the attachment and flash the firmware using ESP-IDF (https://docs.espressif.com/projects/esptool/en/latest/esp32/esptool/flashing-firmware.html) esp32dev.zip

jnthas commented 3 months ago

This issue is also Related to https://github.com/jnthas/clockwise/issues/68

demofilm commented 3 months ago

that is awesome . thanks

jjlarenillas commented 3 months ago

I tried to load the modified configuration but I don't understand the ESP-IDF configuration very well, but I will keep trying. Thank you very much for reading me. thanks