How do I spawn a python subprocess for raspberry pi clock

For RTC breakouts, etc., use the Other Products from Adafruit forum

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
Misterjenkins
 
Posts: 4
Joined: Wed Mar 20, 2013 7:55 am

How do I spawn a python subprocess for raspberry pi clock

Post by Misterjenkins »

I have the 7 segment backpack led display, and I am able to use the adafruit 7 segment example clock python code to display the time with a blinking colon.

Noob question: How can I call this function from another python script as a parallel thread? I've tried subprocess and pexpect, but the clock function always blocks the main function from proceeding.

(The project is a game which uses a TFT display. The clock is just a feature that should run while the user plays the game). Thanks!

Locked
Please be positive and constructive with your questions and comments.

Return to “Clock Kits (discontinued)”