Hi Peter,

> BUT anytime I add anything to the program the subscriber stops firing
> the LEDs.

‘Anything’ is very vague.  Can you attach the output of

    diff -u working.py broken.py

where you've done some simple change which breaks it, e.g...

> I tried to print to stdout in each function, but nothing happened.

...printing to stdout from one of the functions.

And also tell us how you're running in the program.

> Can one have an 'orphan' function in a Python program?

No.

> This morning my thought was to rewrite the whole subscriber program
> into a lot fewer function calls, which I don't fancy doing.

And wouldn't determine the problem which might simply reoccur.  :-)

-- 
Cheers, Ralph.

-- 
  Next meeting: Online, Jitsi, Tuesday, 2021-02-02 20:00
  Check to whom you are replying
  Meetings, mailing list, IRC, ...  http://dorset.lug.org.uk
  New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to