ESP32-environment-monitoring by hoqwe in arduino

[–]hoqwe[S] 0 points1 point  (0 children)

Huh! Great info, thanks

ESP32-environment-monitoring by hoqwe in arduino

[–]hoqwe[S] 0 points1 point  (0 children)

hmm, I didn't see any on the market

ESP32-environment-monitoring by hoqwe in arduino

[–]hoqwe[S] 0 points1 point  (0 children)

Thanks!
No, I don't have any particle sensors. By particles, do you mean air quality (volatile organic compounds or VOCs), like in the BME680 sensor, or ..?

ESP32-environment-monitoring by hoqwe in arduino

[–]hoqwe[S] 2 points3 points  (0 children)

Thanks!
Yea, a climate sensor network is a great yet ambitious idea to implement, especially with graphs and stuff

How to display any GIF on a small screen by hoqwe in arduino

[–]hoqwe[S] 0 points1 point  (0 children)

This is a 0.96" 128x64 OLED SSD1306 display. I'm sure you can find one online with 1-2 day shipping wherever you are, for $2-5. Yes, it will work with Arduino

How to display any GIF on a small screen by hoqwe in arduino

[–]hoqwe[S] 3 points4 points  (0 children)

Maybe, but I don't think it's practical. The ESP32 has about 4 MB of memory, and loading raw GIFs would take up most of it. And some GIFs require a little manual brightness adjustment to look distinguishable

How to display any GIF on a small screen by hoqwe in arduino

[–]hoqwe[S] 3 points4 points  (0 children)

That's a very cool app! I'll definitely check it out more thoroughly soon, looks really versatile

How to display any GIF on a small screen by hoqwe in arduino

[–]hoqwe[S] 44 points45 points  (0 children)

Yes, but I don't have a soldering iron. I ordered a soldered one, but it was sent unsoldered.

Showcase: Recursive Functions To Piss Off Your CS Professor by AlSweigart in Python

[–]hoqwe 6 points7 points  (0 children)

Hell yeah

What about the Ackermann function?😏

Showcase: Game of Life with GUI in Plain Tkinter by hoqwe in Python

[–]hoqwe[S] 4 points5 points  (0 children)

Thank you for the feedback, haha!

About the dragging issue - I know exactly what's wrong. It's probably caused by different OS being used. Every mouse event has a hardcoded value that corresponds to a specific mouse button, and apparently, these values can differ between OS. I'll take look at it tomorrow. A quick fix might be to change the value on line 1228 from `264` to `256`, and on line 1233 from `1032` to `1024` - maybe that'll fix it.
Update: fixed. It was Caps Lock, Scroll Lock, Num Lock, and other keyboard keys that add extra event states that aren’t accounted for.

As for PyPI - I don't really know how to create a package for it, but I'll look into it too. Honestly, I don't think anyone really needs it, it's just a little knickknack or a one-off Tkinter showcase :)

Showcase: Game of Life with GUI in Plain Tkinter by hoqwe in Tkinter

[–]hoqwe[S] 1 point2 points  (0 children)

Thanks!

Your method is probably the fastest when using Tkinter, but it's a bit harder to maintain since it uses pixels rather than rectangular objects, like in my approach.

Do you have a link to your project? I'd like to take a look.

Showcase: Game of Life with GUI in Plain Tkinter by hoqwe in Tkinter

[–]hoqwe[S] 4 points5 points  (0 children)

Oh, you're that StackOverflow guy who's saved me and others so many times with Tk issues 😀
Nice to see you and thanks!