This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:crazyradio:python_lib [2015-08-06 12:10] arnaud |
projects:crazyradio:python_lib [2020-05-12 14:15] (current) kimberly |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | |||
| + | <WRAP center round important 60%> | ||
| + | This page has deprecated and moved to the new documentation framework of the main Bitcraze website. Please go to [[https:// | ||
| + | </ | ||
| ====== Python Crazyradio Library ====== | ====== Python Crazyradio Library ====== | ||
| Line 18: | Line 22: | ||
| </ | </ | ||
| - | Ths is an example on how to use the lib: | + | This is an example on how to use the lib: |
| <code python> | <code python> | ||
| Line 53: | Line 57: | ||
| ^ Returns | ^ Returns | ||
| ^ Description | Close the USB device. Should be called before closing the program. | | ^ Description | Close the USB device. Should be called before closing the program. | | ||
| - | |||
| - | == set_channel(self, | ||
| - | ^ Name | '' | ||
| - | ^ Parameters | ||
| - | ^ Returns | ||
| - | ^ Description | Set the Crazyradio channel. Channel must be between 0 and 125. Channels are spaced by 1MHz starting at 2400MHz and ending at 2525MHz. | | ||
| == set_channel(self, | == set_channel(self, | ||