0

I'm looking for a python module to which allows me to handle events. These events may be triggered by

  • timers
  • i2c input (e.g. buttons)

I'm building a wordclock (with the bibliopixel module) and would like to display the time in a main loop. On the RPI, I've got a temperature and humidity sensor installed. So, I need to suspend the main loop and scroll text (or display any other animation). This could be triggered by a timer or i2c input. After that I'd like to jump back to the loop.

What is the 'standard' module for such tasks? There are tons of modules, but finding the best one is difficult for me as I'm not precisely sure, what features I need...

Regards, Achim

2
  • Here's a similar question. But I'm afraid it was left unanswered. Commented Oct 2, 2015 at 13:14
  • Don't build a clock. They might mistaken it with a bomb. Commented Oct 3, 2015 at 8:18

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.