Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Rasberry pi to Arduino

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

Best Answer
0 Votes
0 REPLIES 0