Internet of Things with Python by 2016

Internet of Things with Python by 2016

Author:2016
Language: eng
Format: epub, mobi
Publisher: Packt Publishing


Keep the Python script running for a few minutes and make many changes in the incident light over the photoresistor. This way, you will generate many lines in the log file. Then, you can use your favorite SFTP client to download the log file from /home/root and read it.

The following lines show some sample lines generated in the log file after executing the application:

03/08/2016 04:54:46 PM Application started 03/08/2016 04:54:46 PM Ambient light value changed from 0.0 to 4.01953601954 03/08/2016 04:55:20 PM Ambient light value changed from 4.01953601954 to 3.91208791209 03/08/2016 04:55:26 PM Ambient light value changed from 3.91208791209 to 2.49572649573 03/08/2016 04:55:30 PM Ambient light value changed from 2.49572649573 to 3.40903540904 03/08/2016 04:55:34 PM Ambient light value changed from 3.40903540904 to 2.19291819292 03/08/2016 04:55:38 PM Ambient light value changed from 2.19291819292 to 3.83394383394 03/08/2016 04:55:42 PM Ambient light value changed from 3.83394383394 to 4.0 03/08/2016 04:55:48 PM Ambient light value changed from 4.0 to 3.40903540904 03/08/2016 04:55:50 PM Ambient light value changed from 3.40903540904 to 2.89133089133 03/08/2016 04:55:56 PM Ambient light value changed from 2.89133089133 to 3.88278388278 03/08/2016 04:55:58 PM Ambient light value changed from 3.88278388278 to 4.69841269841 03/08/2016 04:56:00 PM Ambient light value changed from 4.69841269841 to 3.93650793651



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.