My apologies, here are some more details.
This is the script I'm running:
from sense_hat import SenseHat
import time
import datetime
# Import smtplib for the actual sending function
import smtplib, ssl
#Get the temperature data and write it to the file
def temp_data(sense, wfile):
temp =...
Hello all,
I have a python script that opens a file and writes output to that file from the Raspberry Pi Sense Hat. When I run this script from the terminal it logs its data to the file. When this script is run from a Cron job, the output file gets created but no data is written. Any thoughts...