cat does an open, read & close.leisurehound wrote: 'cat /sys/class/thermal/thermal_zone0/temp'
I'm running the Pi as a CAN query device in a race car. I'm confident its up to the task compute power wise, what I'm not confident of if it can coexist in the environment of a race car in an enclosure. It raises 15C on the bench without the enclosure. Monitoring the core temp at least gives me an indication if I need more heat sinks or cooling.DougieLawson wrote:leisurehound wrote:
What do you hope to achieve by reading that file apart from increasing the temperature by the simple process of reading that file? It doesn't tell you anything useful.
No you don't. How are you going to get the processor to 85° using a loop with a pause? Burn that thing hot, run four copies of the program.jahboater wrote:You need a sleep() in the loop as well ...
Users browsing this forum: No registered users and 6 guests