Arduino Libraries Rant
- Gregski
- Posts: 2326
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Arduino Libraries Rant
I can script and do some basic programming, but what frustrates me is the insanity of Arduino libraries, today I found yet another location for them,
C:\Users\Greg\AppData\Local\Arduino15\packages\
yeah this is yet another "default" location
so now there is three places they can live, I was pulling out my hair wondering how can a Sketch "work" ie Verify and Upload, call it compile when I am completely missing an included library, well add to that the fact that Windows 10 file search is absolutely horrid and you have yourself a perfect mess
so I went to https://www.voidtools.com/ and downloaded their tiny search called Everything and it finds files on Windows that Windows can't find, totally amazing, it's like going to HP's website and not being able to find a thing and then Googling it and finding it on HP's website, ha ha
then you have the silly color coding (yeah red or call it orange = good) sure ok that's exactly how the color alert system works, ha ha, but whatever why are some libraries orange and some bold orange, found out that depends on some arbitrary key word file that some library authors include and some don't bother, so how official is that [deep breath] so you can have a regular black color include library ie not orange not bold that completely works completely functions, who knew?
any of youz experiences what I'm going through with Arduino?
C:\Users\Greg\AppData\Local\Arduino15\packages\
yeah this is yet another "default" location
so now there is three places they can live, I was pulling out my hair wondering how can a Sketch "work" ie Verify and Upload, call it compile when I am completely missing an included library, well add to that the fact that Windows 10 file search is absolutely horrid and you have yourself a perfect mess
so I went to https://www.voidtools.com/ and downloaded their tiny search called Everything and it finds files on Windows that Windows can't find, totally amazing, it's like going to HP's website and not being able to find a thing and then Googling it and finding it on HP's website, ha ha
then you have the silly color coding (yeah red or call it orange = good) sure ok that's exactly how the color alert system works, ha ha, but whatever why are some libraries orange and some bold orange, found out that depends on some arbitrary key word file that some library authors include and some don't bother, so how official is that [deep breath] so you can have a regular black color include library ie not orange not bold that completely works completely functions, who knew?
any of youz experiences what I'm going through with Arduino?
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
- Bigpie
- Posts: 1597
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 75 times
- Been thanked: 306 times
Re: Arduino Libraries Rant
Yes, it's a nightmare. I use PlatformIO now for Arduino stuff. The library version management is much better.
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Re: Arduino Libraries Rant
As a hobbyist, not even a competent one in some regards, I got so frustrated with the Arduino cr@p hiding everywhere I went back to building only Python based electronics projects. This despite the fact they take more resources and are slower to execute.
Huebner VCU controlling a Gen2 Prius Inverter powering an MGR
"Talent is equally distributed but opportunity is not." - Leila Janah
"Talent is equally distributed but opportunity is not." - Leila Janah
Re: Arduino Libraries Rant
Arduino framework is a good gateway drug. I have no regrets about forcing myself to learn C. I also find it easier to find where something is broken than slogging through layers of libraries that may or may not be completely functional. I can stomach spending a day chasing my own screw up, but someone else’s is enraging.
Formerly 92 E30 BMW Cabrio with Tesla power
- Gregski
- Posts: 2326
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: Arduino Libraries Rant
thank you for reading and especially those who echoed my sentiments, strength in numbers ha ha
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
Re: Arduino Libraries Rant
I looked into Arduino a couple of times, but I like the control of using just the processor itself. I work with the PIC line. Microchip now has a line of Nano boards that allow you to interface the PIC processor like you would an Arduino.
The PIC community suffers its own challenges with Microchip Code Configurator (MCC for short). It's bloated, slow, and sometimes just plain wrong. Also, the legacy MLL libraries usually use the older C89 syntax and won't compile on the latest IDE using C99. Oh, and recently they abandoned the decades-old MPASM (assembly language compiler) in favor of pic-as (pronounced PIC-Ass), which pretty much nobody likes.
Unless you take the time to learn the intricacies of the programming language and process, you just have to work with what's out there.
The PIC community suffers its own challenges with Microchip Code Configurator (MCC for short). It's bloated, slow, and sometimes just plain wrong. Also, the legacy MLL libraries usually use the older C89 syntax and won't compile on the latest IDE using C99. Oh, and recently they abandoned the decades-old MPASM (assembly language compiler) in favor of pic-as (pronounced PIC-Ass), which pretty much nobody likes.
Unless you take the time to learn the intricacies of the programming language and process, you just have to work with what's out there.
I'm betting on the future!
- Gregski
- Posts: 2326
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: Arduino Libraries Rant
is it too late to rename this thread just to Arduino Rant ha ha
so I just discovered the hell that is COM port maintenance, say you are porting something from one USB tethered card to another well if one card is recognized on COM Port 8 and the other on COM Port 9 you may need to close Arduino IDE and re launch it, you can't just toggle the COM ports like a normal human being, can you say try turning it off and on again!
so I just discovered the hell that is COM port maintenance, say you are porting something from one USB tethered card to another well if one card is recognized on COM Port 8 and the other on COM Port 9 you may need to close Arduino IDE and re launch it, you can't just toggle the COM ports like a normal human being, can you say try turning it off and on again!
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
- Gregski
- Posts: 2326
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: Arduino Errors Rant
Arduino errors, collect 'em all
best part is this worked perfectly 2 seconds ago
best part is this worked perfectly 2 seconds ago
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
-
- Posts: 779
- Joined: Tue Sep 17, 2019 8:33 pm
- Location: Raleigh, NC, USA
- Has thanked: 96 times
- Been thanked: 100 times
Re: Arduino Libraries Rant
What is absolutely wonderful is when you want to borrow someone's code from Github, but they include a library, that links to a library, that links to a library, that links to a library, that links to a library that no longer exists. And I'm too software illiterate to recreate the missing info.
If at first you don't succeed, buy a bigger hammer.
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
- Gregski
- Posts: 2326
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: Arduino Rant
ah yes absolutely love it, also when they don't declare\include\define all their libraries at the very tippy top of the Arduino sketch but bury them deep inside their code with naturally zero internal documentation - good times!P.S.Mangelsdorf wrote: ↑Mon Nov 29, 2021 10:31 pm What is absolutely wonderful is when you want to borrow someone's code from Github, but they include a library, that links to a library, that links to a library, that links to a library, that links to a library that no longer exists. And I'm too software illiterate to recreate the missing info.
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg