Thanks Kynlo. While I was adding these to my bookmarks, I decided to try out LobeChat's hosted version. It went something like this (highly paraphrased):
Q: Does the onboard LED of the Raspberry Pi Pico W support PWM to adjust its brightness?
A: Yes, it does.
Q: Can you show me some example code that will fade the LED?
A: This code will do that for you.
[ 15 minutes trying to get the code to work ]
Q: The code isn't working. What might be wrong?
A: Try these troubleshooting steps.
[ 15 minutes trying all the troubleshooting steps ]
Q: Are you absolutely sure the onboard LED supports PWM?
A: My apologies. The onboard LED does not support PWM.
Q: Can you show me example code to simulate PWM to adjust the LED's brightness in software rather than hardware?
A: This code will do that for you.
[ It works! ]
Pretty helpful when it doesn't lead you on a wild goose chase with wrong information.
I'm surprised there hasn't been a movie made yet about a group of people with a robot/AI companion who all end up stuck in a cavern and they ask the robot/AI
to help them find a way out and it unintentionally states incorrect information as fact and based on that information (and future queries to the robot/AI that don't challenge the initial assumption) the humans travel through a treacherous path where many people are injured or die until finally someone asks "Are you sure this is the best course of action?" and then the robot/AI says "My apologies. We can just take the ladder near where we started."