Posts by ubik@fedi.turbofish.cc
(DIR) Post #AdKscduYk1wblJWzIW by ubik@fedi.turbofish.cc
2023-12-30T13:00:59Z
0 likes, 0 repeats
@shizamura wat
(DIR) Post #AdKwGOjAuebu7Ir2K8 by ubik@fedi.turbofish.cc
2023-12-30T13:41:46Z
0 likes, 0 repeats
@shizamura hahaha. Já não me lembrava 🤣
(DIR) Post #AdfeX6Zx8ruWB1W2ka by ubik@fedi.turbofish.cc
2024-01-09T13:32:01Z
0 likes, 0 repeats
@shizamura arrefece a chávena de dentro até -273C.
(DIR) Post #AdfedgSGfWBpBL3fPs by ubik@fedi.turbofish.cc
2024-01-09T13:33:13Z
0 likes, 0 repeats
Ou aquece só a de fora :trollface:
(DIR) Post #AdfywdVzoz5SeK7ITg by ubik@fedi.turbofish.cc
2024-01-09T17:20:44Z
0 likes, 0 repeats
@shizamura please!
(DIR) Post #Adfz4RevmjooCC1GbI by ubik@fedi.turbofish.cc
2024-01-09T17:22:09Z
0 likes, 0 repeats
@shizamura better than Netflix
(DIR) Post #AdfzLkoxnMOwY1xvhw by ubik@fedi.turbofish.cc
2024-01-09T17:25:16Z
0 likes, 0 repeats
@shizamura ya, set the bar too low
(DIR) Post #Adg0lJtcciwcWctoCe by ubik@fedi.turbofish.cc
2024-01-09T17:41:06Z
0 likes, 0 repeats
@shizamura podia ser pior, imagina que era Haskell 🤣
(DIR) Post #AqG6nX672EQ18iKoim by ubik@fedi.turbofish.cc
2025-01-19T20:17:44Z
0 likes, 0 repeats
Stolen from Bluesky
(DIR) Post #Av2s9jSuMqJhKvgpDE by ubik@fedi.turbofish.cc
2025-06-12T05:46:43Z
0 likes, 1 repeats
#electronics Mastodon, can you help me identify this little fella? I found it in a box full of old components, at work. Could it be a thermistor, or is it just a cap?
(DIR) Post #Av2s9rMozMCXqMu4ps by ubik@fedi.turbofish.cc
2025-06-12T05:48:32Z
0 likes, 0 repeats
Also found this one. I suspect it's a relay.
(DIR) Post #Av4oUAqOGxQwXd5Kvw by ubik@fedi.turbofish.cc
2025-06-06T12:18:12Z
0 likes, 0 repeats
I wrote some ST7789 screen driver Rust code which just takes bytes from memory and flushes them into the screen. It seems to work but somehow the screen turns completely white less than one second after the memory write operation. This used to work fine, so I was wondering if maybe some other driver was interfering with the SPI, but nope, I disabled everything else and it still does that. I wrote a small test program which uses a different library to speak to the ST, and it works just fine. I am probably doing something wrong somewhere, BUT THEN WHY WAS IT WORKING OK BEFORE? I suspect some weird timing issues. Or maybe my driver code is being optimized by the compiler somehow, and things are not being done in the correct order?I will probably plug in a logic analyzer tomorrow, but if anyone has any tips on how to debug it...#st7789 #embeddedrust #embedded #rust #electronics
(DIR) Post #Av4oUDEZO1xlxCPfto by ubik@fedi.turbofish.cc
2025-06-06T13:34:56Z
0 likes, 0 repeats
@bino yeah, i have one of those logic analyzers, thanks! and no keep-alive is necessary AFAIK. thanks!
(DIR) Post #Av4oUE3yIv50WcSj1E by ubik@fedi.turbofish.cc
2025-06-11T20:35:04Z
0 likes, 0 repeats
@bino so, I hooked up the logic analyzer and suddenly the whole thing started working. I narrowed it down to the screen's RST pin. If I leave it connected to the analyzer, it works. If I disconnect it, the whole thing turns white. I thought maybe some pull-up/pull-down effect might be going on, but this is just an output pin...
(DIR) Post #Av4oUEz2sijXNdAIym by ubik@fedi.turbofish.cc
2025-06-11T20:48:07Z
0 likes, 0 repeats
@bino OH, I FOUND THE PROBLEM. I think this had already bit me in the ass once. Basically, in the framework I'm using (Embassy), whenever a pin structure is dropped (not sure if you're familiar with Rust, but that's when it goes out of scope), it resets the pin's config. I stored the pin in a parent struct, to make sure it stays in scope, and it now just works. So much time wasted trying to figure this one out... Anyway, thanks for your help!
(DIR) Post #AveAztUVxezmt1nrfM by ubik@fedi.turbofish.cc
2025-06-30T06:04:08Z
0 likes, 0 repeats
@YesBut always have your water bottle with you, ready for a refill!
(DIR) Post #AxjN6q3lKrIooYTkzA by ubik@fedi.turbofish.cc
2025-08-31T12:02:01Z
0 likes, 0 repeats
@CadeJohnson @aral @staff Were any of those accounts confirmed to be legit? Between fraudsters and AI, you have to think ten times before donating to anyone these days.I completely agree with the point about this being akin to a zero sum game. There are trucks full of aid waiting at the border, so this famine is being deliberately manufactured. That creates a terrible ethical dilemma for each of us. Donating might save one person, but there's a clear nefarious outcome: the money gets diverted to smugglers and criminals.It’s a horrible thing to say, but it feels like you're being forced to choose who lives and who dies, all while funding the very people profiting from the crisis. Do the posts I see break my heart? Fuck yes. But should we be answering these calls for help with money? I'm just not sure. I pretty much despise effective altruism and believe individual people matter, but when all you have is a social media post... it feels like an impossible choice.
(DIR) Post #AzmIStNOuIINYIuGvI by ubik@fedi.turbofish.cc
2025-10-31T19:33:27Z
0 likes, 0 repeats
@foone -12V GND +12V is the best.
(DIR) Post #B0b7XLeMbw92ijKgJE by ubik@fedi.turbofish.cc
2025-11-25T08:01:32Z
0 likes, 0 repeats
@neauoire @rek Congrats!
(DIR) Post #B2BV0fkDGRHnOjAEMq by ubik@fedi.turbofish.cc
2026-01-11T19:04:37Z
0 likes, 0 repeats
has anyone ever tried to run a #uxn emulator on the #Miyoo Mini Plus? Well, there you go.I'm using Raven, whose GUI I ported to SDL2.0 (rust-sdl2). Sound still doesn't work. Mouse emulation done using the arrows - it's clunky but it works.