How to delay until a next increment of time occurs ?

R.Wieser address at not.available
Thu Nov 14 15:00:59 EST 2019


Dave,

> Can you expand on what you are trying to accomplish with this?

There is a small 433 MHz rf transmitter connected to the pin, and when I 
send the right pattern a wireless wall-wart will respond and switch a lamp 
on or off.     Its just ment as an example of a real-world application of 
Python, nothing serious.

Ofcourse, by doing so I'm learning about how to use python (and the Pi) 
myself too. :-)

> It seems a small C program or library you interface python too is a better 
> solution.

:-)  I already wrote that program in C{something} (I'm not sure what my Pi 
offers by default) a while ago, but "ported" it to python.  For the above 
mentioned "example" reason.

... Which is also why I didn't even try to just shell to that program, or 
try to interface with a C{something} library.

Though doing such interfacing is in the pipeline (I've already 
found-and-stored some documentation about it).

Regards,
Rudy Wieser




More information about the Python-list mailing list