5 ms·
I’ve tried 2 AI tools recently. Neither could produce the correct code to calculate the CPU temperature on a Raspberry Pi RP2040. The code worked, looked ok and
by markb139 1y ago
I’ve tried 2 AI tools recently. Neither could produce the correct code to calculate the CPU temperature on a Raspberry Pi RP2040. The code worked, looked ok and even produced reasonable looking results - until I put a finger on the chip and thus raised the temp. The calculated temperature went down.
As an aside the free version of chatGPT didn’t know about anything newer than 2023 so couldn’t tell me about the RP2350
- anvuong 1y agoHow can you be sure putting the finger on the chip raise the temp? If you feel hot that means heat from the chip is being transferred to your finger, that may decrease the temp, no?
- broshtush 1y agoFrom my understanding putting your finger on an uncooled CPU acts like a passive cooler, thus actually decreasing temperature.
- fwip 1y agoI don't think a larger context window would help with that.
- fpauser 1y agoBest comment ;)
- ghjv 1y agowouldn't your finger have acted as a heat sink, lowering the temp? sounds like the program may have worked correctly. could be worth trying again with a hot enough piece of metal instead of your finger