Question
I am doing a project where I am tracking my sleep with a fitbit. Basically, when a person falls asleep, a tv is going to
I am doing a project where I am tracking my sleep with a fitbit. Basically, when a person falls asleep, a tv is going to turn off (if its on). The tv is going to recieve a signal from an arduino. The arduino is going to recieve a command from a raspberry pi to execute. I was able to get the data from the fitbit using python, a variable used in the output window of the python code is minutesOfSleep = 10( it tells me how many minutes the person has fallen sleep).
I do now know how to create a python code that will send a signal to the arduino when minuteOfSleep > 0. I am new to python and i have no idea how to start. Please help
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started