Jan-15-2018, 09:30 PM
Hello all,For datalogging purposes i have concoted several scripts.
One reads a MCP3008 adc, another reads several 1-wire sensors, one gets the date and time and one check for a contactlock being on or off. Finally a script writes the gathered data to a CSV file.
For clarity it seems appropriate to keep the scripts separated although they have some variables in common.
Is this a good thought? If so can i write some sort over supervising script to govern them and pass on common variables.
What would be the best way of doing this.
Your comment would be very much appreciated and please bear in mind that i'm rather new to Python.
regards Steffen
One reads a MCP3008 adc, another reads several 1-wire sensors, one gets the date and time and one check for a contactlock being on or off. Finally a script writes the gathered data to a CSV file.
For clarity it seems appropriate to keep the scripts separated although they have some variables in common.
Is this a good thought? If so can i write some sort over supervising script to govern them and pass on common variables.
What would be the best way of doing this.
Your comment would be very much appreciated and please bear in mind that i'm rather new to Python.
regards Steffen