Closed saschaludwig closed 3 years ago
Thanks and welcome to the fun! I’m glad you tried it. Did you make these changes:
On MacOS change changed the ~/Documents/Arduino/libraries/TFT_eSPI/User_Setup.h as:
-Frank
On May 10, 2021, at 7:59 AM, Sascha Ludwig @.***> wrote:
If I flash the BoingBall, the displays remain all black. On the serial I can see the fps numbers though.
I also tried flashing your original firmware: same result, black displays. The fw dump from my clock looks a bit different in some places. https://github.com/saschaludwig/EleksTubeHAX/blob/main/original-firmware/fw-backup-4M_sascha.bin https://github.com/saschaludwig/EleksTubeHAX/blob/main/original-firmware/fw-backup-4M_sascha.bin Any Idea what might be the difference? My PCB says "EleksTube IPS Docker v6.1.11"
Best regards, Sascha
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SmittyHalibut/EleksTubeHAX/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUEWMMSHO2KBALMIUCYI7DTM7YGXANCNFSM44RNIVEQ.
Thanks for pointing that out :-) my fault. I'm a bit confused because TFT_CS and TFT_DC is redefined with different values at the end. I will use the last ones and give it a try.
I now use:
#define ST7789_DRIVER
#define TFT_SDA_READ
#define TFT_RGB_ORDER TFT_RGB
#define TFT_HEIGHT 240
#define TFT_MISO -1
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS -1
#define TFT_DC 25
#define TFT_RST 26
And that gives me an output, but it's shifted towards the top and does some strange garbage if the ball is in the upper part of the display.
Here is a video of that: https://www.youtube.com/watch?v=K37HdH-bM6A
Set width to 135. The same way you’re setting height.
On May 10, 2021, at 9:10 AM, Sascha Ludwig @.***> wrote:
I now use:
define ST7789_DRIVER
define TFT_SDA_READ
define TFT_RGB_ORDER TFT_RGB
define TFT_HEIGHT 240
define TFT_MISO -1
define TFT_MOSI 23
define TFT_SCLK 18
define TFT_CS -1
define TFT_DC 25
define TFT_RST 26
And that gives me an output, but it's shifted towards the top and does some strange garbage if the ball is in the upper part of the display.
Here is a video of that: https://www.youtube.com/watch?v=K37HdH-bM6A
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Cool! At least part of the ball is working. I felt a thrill when I saw it for the first time. Hope you did too!
I’ll bet the garbage is coming from one of the values being set wrong - I mean, that I gave you some wrong advice on the settings. I will have time tonight to keep hacking away at it.
By the way, you’re further than I was… you have double displays working. I had only one!
-Frank
Frank Cohen, Founder @.*** http://www.votsh.com Phone: (408) 364-5508 USA
On May 10, 2021, at 9:10 AM, Sascha Ludwig @.***> wrote:
I now use:
define ST7789_DRIVER
define TFT_SDA_READ
define TFT_RGB_ORDER TFT_RGB
define TFT_HEIGHT 240
define TFT_MISO -1
define TFT_MOSI 23
define TFT_SCLK 18
define TFT_CS -1
define TFT_DC 25
define TFT_RST 26
And that gives me an output, but it's shifted towards the top and does some strange garbage if the ball is in the upper part of the display.
Here is a video of that: https://www.youtube.com/watch?v=K37HdH-bM6A https://www.youtube.com/watch?v=K37HdH-bM6A — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/SmittyHalibut/EleksTubeHAX/issues/1#issuecomment-836898032, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUEWMKPWZOVQQS55VH22YDTNAAPZANCNFSM44RNIVEQ.
Set width to 135. The same way you’re setting height.
That did the trick! :-)
and @frankcohen: yes, gave me goosebumps. awesome!
Yeah!!!!!
Frank Cohen, Founder @.*** http://www.votsh.com Phone: (408) 364-5508 USA
On May 10, 2021, at 9:48 AM, Sascha Ludwig @.***> wrote:
Set width to 135. The same way you’re setting height.
That did the trick! :-)
and @frankcohen https://github.com/frankcohen: yes, gave me goosebumps. awesome!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SmittyHalibut/EleksTubeHAX/issues/1#issuecomment-836952063, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUEWMP5VRFHLSOC65E3GYTTNAE45ANCNFSM44RNIVEQ.
For reference: https://www.youtube.com/watch?v=zj1XFj4SVxM
If I flash the BoingBall, the displays remain all black. On the serial I can see the fps numbers though.
I also tried flashing your original firmware: same result, black displays. The fw dump from my clock looks a bit different in some places. https://github.com/saschaludwig/EleksTubeHAX/blob/main/original-firmware/fw-backup-4M_sascha.bin
Any Idea what might be the difference? My PCB says "EleksTube IPS Docker v6.1.11"
Best regards, Sascha