|
Greetings Kind Regards
I have been unable to submit Visual Studio "Report a Problem" due to authentication failure since VS updated w/ a new better authentication method. The only mode of communication which does not result so is "Provide more info" and "Submit a comment" to a previously submitted problem report. Having done so fully describing my authentication fail complete w/ video the response by the Microsoft engineer is "And for issue βauthentication failsβ, please open new feedbacks for it, thanks!" ![Dead | X|](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_dead.gif)
|
|
|
|
|
I want an IoT ecosystem that's as cross platform as possible, but even then I have some code that is for some MCUs specifically - generally driver stuff, or things that take advantage of one off features of an MCU like integrated WiFi. The ESP32 is a popular target of mine. The ESP32 targeted things can either run under Arduino or the ESP-IDF, so there are still cross platform considerations, since the ESP-IDF and Arduino frameworks operate in fundamentally different ways.
I recently built a project that runs on Arduino or the ESP-IDF, and runs on one of two devices - The M5 Stack Core 2 and the M5 Stack Tough. They share much of the same hardware, slightly different wiring, and most notably a different capacitive touch panel controller.
Eventually I modularized the configuration for the project, restructuring it so the shared libraries were grouped together, and then it had specific libraries for each device separately. I've pasted the result at the end of this post.
Anyway, I developed a good portion of this over the past several days, and/or upgraded existing code to be cross platform. Those shared library dependencies are the same for Arduino, and the ESP-IDF, and work the same across those two devices. There are only two libraries each that are specific to the device - its power chip, because despite both being an AXP192 they are wired differently on each device, and then the touch panel controller.
There are very few and very brief forks in my actual application code either, and it compiles and runs under Arduino and ESP-IDF on both devices.
I don't know how practical this accomplishment is, but I wanted to share it with someone, and everyone around me is asleep right now.
And yeah, I wrote an article about it today, but it didn't cover this bit.
[common]
core2_com_port = COM10
tough_com_port = COM20
lib_deps_shared = codewitch-honey-crisis/htcw_esp_i2c ; i2c init
codewitch-honey-crisis/htcw_esp_lcd_panel_ili9342 ; screen
codewitch-honey-crisis/htcw_uix ; UI and Graphics
codewitch-honey-crisis/htcw_esp_wifi_manager ; wifi
codewitch-honey-crisis/htcw_esp_ntp_time ; NTP time service
codewitch-honey-crisis/htcw_bm8563 ; real time clock
codewitch-honey-crisis/htcw_esp_ip_loc ; IP geolocation
lib_deps_core2 = codewitch-honey-crisis/htcw_m5core2_power ; AXP192 power chip
codewitch-honey-crisis/htcw_ft6336 ; touch screen panel
lib_deps_tough = codewitch-honey-crisis/htcw_m5tough_power ; AXP192 power chip
codewitch-honey-crisis/htcw_chsc6540 ; touch screen panel
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Wordle 1,090 5/6
π¨π¨β¬β¬π¨
π¨β¬π¨β¬π©
π©β¬β¬π©π©
π©π¨β¬π©π©
π©π©π©π©π©
|
|
|
|
|
Wordle 1,090 3/6*
π©β¬β¬π©β¬
π©π¨β¬π©β¬
π©π©π©π©π©
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,090 3/6
β¬β¬β¬π¨π¨
π¨π©π¨β¬β¬
π©π©π©π©π©
|
|
|
|
|
Wordle 1,090 4/6
π¨π¨π¨β¬β¬
β¬π¨π¨π¨β¬
π©π¨β¬β¬π©
π©π©π©π©π©
|
|
|
|
|
β¬β¬π¨π¨β¬
π©π©β¬β¬β¬
π©π©π©π©π©
if I'd gone with my gut feeling I'd of got it in two
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,090 5/6*
π©β¬π¨β¬β¬
π©β¬β¬β¬π©
π©β¬β¬β¬π©
π©β¬β¬β¬π©
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
I googled that knowing what I'd find, and hit pay dirt, unsurprisingly on the first link on my first stab.
My brain is now filled with crap like this from doing embedded, both professionally and IoT stuff as a hobby.
It's making me a google ninja in some areas at least.
As to why I need it, well I'm trying to solve the case of the mysterious disappearing flash space.
My device is rated to have 16 megabytes, but I'm only seeing 1MB available for my code.
I don't know if this will fix it, but eventually google will lead me there, and probably quicker than an LLM could.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I posted something a long while back. It was a post about my speed records driving on sidewalks.
How Fast Do You Drive On Sidewalks? [^]
I have a little bit of housekeeping I'd like to do.
I won't name any names, but one individual
decided to reply to a thread of mine
with a rant. He wasn't very nice.
He and a couple dozen others immediately
piled on, attacked me with derogatory
slurs, incessantly mocked everything they
could about me, and even expressed humor
about the death of one of my family members.
That's the one reason that I post this thread.
The individual who instigated the whole mess
by posting his rant needs to be called out for
subjecting another person to such defamation.
For those of you who participated in this,
take a look at the truth. Review the evidence,
and then take a look at yourselves. If it
doesn't amuse you, it means you shouldn't
take yourself so seriously.
Below is a post that I wrote in another thread.
It demonstrates the humor of the truth. That was
many months ago, and no one saw that post.
For the record, here it is.
Ah, ha! Yes! Do any of you remember my thread asking you guys
how fast you drive on sidewalks?
**Yes, I have driven 63 mph on a sidewalk!
OK, back on topic. I think GTA is a great game!
I used to play Grand Theft Auto: San Andreas back in 2007.
I never actually learned how to play the game.
I still haven't a clue how to play it.
I had every cheat code memorized.
I spent most of my time shooting down police helicopters
by the dozens with an endless supply of rocket launchers.
Then, I discovered how to turn off gravity.
I would magically materialize a military tank out of thin air,
turn off gravity, get inside the tank, and repeatedly fire
the cannon. The recoil would accelerate the tank in reverse,
and once I got up to speed, I would take off into the air.
Sometimes, I'd land the tank on the road and, *GASP* veer off
the road and onto the sidewalk!
DISCLAIMER: I'm sorry to all of you who are reading this.
It's not my intention to traumatize anyone by what I'm saying.
May God bless the many loved ones in your life who were lost
being hit by vehicles driving down sidewalks.
I can only imagine how amazing the newest versions of GTA are.
If you can still turn off gravity, materialize unlimited
military tanks out of thin air, and play the game as a
flight simulator, I want to play it!
**That would have turned out to be a fun thread if it weren't for an unnamed social justice hero who derailed that thread with his preposterous act of virtue signaling. I apologize to all of you who read that thread. For those of you who have lost loved ones (many of you, I'm sure) from being hit by cars driving on sidewalks, it wasn't my intention to traumatize you or trigger you to have a PTSD episode. I've had a family member who was killed after being struck by a vehicle as a pedestrian. It's an awful thing, but I'm glad it didn't destroy my sense of humor.
|
|
|
|
|
Dude, I just read the original thread. It seems that instead of telling everyone else to stop taking themselves seriously, maybe you should begin to take yourself less seriously.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Richard Andrew x64 wrote: Dude, I just read the original thread. It seems that instead of telling everyone else to stop taking themselves seriously, maybe you should begin to take yourself less seriously.
Oh, the irony of it all. Are we done here?
|
|
|
|
|
I live in India, and we have footpaths; i believe the same as sidewalks. As per traffic rules in India, it is forbidden to drive on footpaths.
However a number of two-wheelers, I mean bike riders, do ride on footpaths. I have myself stopped a few such ones, some years ago.
Nowadays, most metropolitan cities in India, and even smaller cities have a number of traffic cameras installed, and photos of such violations are stored in databases. And the traffic ticket is sent home. Hopefully these cameras act as deterrents.
|
|
|
|
|
Amarnath S wrote: I live in India, and we have footpaths; i believe the same as sidewalks. As per traffic rules in India, it is forbidden to drive on footpaths.
Of course. That's a very important law. I should clarify that the context of my original thread about driving on sidewalks was in the context of a video game. That's what makes it funny to me.
The game is commonly referred to as GTA for short. It stands for "Grand Theft Auto", and its setting is meant to be in San Andreas, California. Driving on sidewalks is prohibited in Cali, too. But, remember, the context is in reference to how I play a video game.
Here's a link to the game on Google if you're curious. GTA San Andreas [ ^]
|
|
|
|
|
Agree, now it is clear.
As you said, context is important. And this platform being global, it isn't obvious unless context is set.
|
|
|
|
|
GTA is a "fantasy game" - it allows us to do things we wouldn't dream of is the real world. And as such, it is heavily rigged towards being pretty much impossible to play without breaking the law!
So yes, in the game, I do drive on sidewalks sometimes. In fact, if you give me a delivery van, there is a very good chance it's going to be painted red by the time I get to the destination - it's that kind of game. And I can live with that because no real or virtual sentient beings (and I'd start with cats being sentient and go on up) were harmed in any way. IRL, I'd never do that, even if I believed the sidewalk was empty!
And yes, if you install a good mod menu you can turn off gravity and such like in the latest game and do what you want - just don't do it in a populated online session as you will wreck the game for everybody else and that isn't fair!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I like "the cheese grater"
You drive an ambulance - has nice large flat sides - sirens on if you prefer barreling down the street so you can ragdoll peds by sideswiping them. Except you do it when there's a chain link fence to grind them against.
Good times.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
Have you tried attacking motorcycle NPCs with the Ramp Buggy?
(If you haven't got one, you can borrow mine).
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
If it is any consolation to you, at the moment I'm driving on sidewalks too in small mountaineous villages near the Mosel river. The roads are very narrow and winding, and this is better than causing a collision with an oncoming vehicle. So far I have managed not to hit any pedestrians ![Shucks | :-\](https://codeproject.freetls.fastly.net/script/Forums/Images/smiley_shucks.gif)
|
|
|
|
|
Those movie advertisements they show in theaters before the main feature, why are they called "trailers?"
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
I would be more curious how popular that specific question is on google.
I couldn't find an answer to my question. I did find the Wikipedia page for the OP question. Wikipedia was launched in 2001 and the page for that question was added in 2005.
And then I thought about looking up the oldest page
Wikipedia:Wikipedia's oldest articles - Wikipedia[^]
Kind of interesting not because of the pages but rather the history of why they really have no idea what the original page was.
|
|
|
|
|
So I am not the only one asking about that Now that there are two of us, I took the time to see if Wikipedia could help me, and found this:
Due to trailers initially being shown after, or "trailing", the feature film, the term "trailer" was used to describe the promotion; despite it coming before, or "previewing", the film it was promoting. This practice was found to be somewhat ineffective, often ignored by audiences who left immediately after the film.
So, historically, they were trailing the main feature. Thanks for making me look it up
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
Thanks for doing the legwork on that
I suspected as much.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Nowadays they're also called teasers, isn't it?
|
|
|
|
|
They're meant to tease you.
And there's a tease in every trailer court.
Hence trailer, because they called call them ho's.
If you can't find time to do it right the first time, how are you going to find time to do it again?
PartsBin an Electronics Part Organizer - Release Version 1.4.0 (Many new features) JaxCoder.com
Latest Article: EventAggregator
|
|
|
|
|