I have a RPI 3B+ and the SHT31D sensor connected. I have a directory that I created for my thumb drive called usbdrv. I want to do two things:
set the sensor file to repeat the datalogging every 5 seconds and
save that data to a file in the usb directory. The directory file in my drive is called data.
I have created a file: data_log.csv but it can't be read by Excel. It isn't even visible on my thumb drive but I can read the file in pi??? not sure why?
I'd really like the data to be saved as a CSV file so I can upload it to my website MYSQL. I'd have to do that manually but better than trying to get this to automatically do it for me.
Here's my code for the sensor: www.parapsych.us/img/code.png
Here's a copy of my directory: