|
2008-10-13
, 04:22
|
Posts: 183 |
Thanked: 115 times |
Joined on Nov 2007
@ Seattle, WA
|
#2
|
|
2008-10-14
, 17:53
|
Posts: 41 |
Thanked: 8 times |
Joined on Mar 2008
|
#3
|
|
2008-10-16
, 08:22
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#4
|
The Following User Says Thank You to pycage For This Useful Post: | ||
|
2008-10-28
, 23:30
|
|
Posts: 880 |
Thanked: 264 times |
Joined on Feb 2007
@ Cambridge, UK
|
#5
|
The FM radio is V4L2 compatible. You can also use pyfmradio for fully controlling the radio with Python.
See http://pyfmradio.garage.maemo.org
|
2008-10-29
, 07:52
|
|
Posts: 282 |
Thanked: 120 times |
Joined on Nov 2007
|
#6
|
|
2008-10-29
, 08:19
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#7
|
from FMRadio import FMRadio import time radio = FMRadio() radio.set_volume(100) radio.set_frequency(90.10) try: while (True): time.sleep(0.1) except KeyboardInterrupt: # be sure to switch off the radio after usage, or it will drain battery radio.close()
|
2008-10-29
, 23:25
|
|
Posts: 880 |
Thanked: 264 times |
Joined on Feb 2007
@ Cambridge, UK
|
#8
|
|
2008-10-30
, 07:46
|
|
Posts: 3,404 |
Thanked: 4,474 times |
Joined on Oct 2005
@ Germany
|
#9
|
radio.set_frequency(90.10 * 1000)
|
2008-10-31
, 14:36
|
|
Posts: 880 |
Thanked: 264 times |
Joined on Feb 2007
@ Cambridge, UK
|
#10
|
Does anyone know how to do this? Thanks.