main.py 347 B

123456789101112
  1. import sched as s
  2. from custom import *
  3. # Only ONE FileSink can be used since the data will be dumped
  4. # into this global buffer for display with Matplotlib
  5. # It will have to be cleaned and reworked in future to use better
  6. # mechanism of communication with the main code
  7. print("Start")
  8. nb,error = s.scheduler("test")
  9. print("Nb sched = %d" % nb)