update README
This commit is contained in:
parent
1ccd4fd83b
commit
72f2bcd275
13
README.rst
13
README.rst
@ -41,6 +41,19 @@ Usage
|
|||||||
|
|
||||||
import pyModeS as pms
|
import pyModeS as pms
|
||||||
|
|
||||||
|
|
||||||
|
Common function for Mode-S message:
|
||||||
|
|
||||||
|
.. code:: python
|
||||||
|
|
||||||
|
pms.df(msg) # Downlink Format
|
||||||
|
pms.crc(msg, encode=False) # Perform CRC or generate parity bit
|
||||||
|
|
||||||
|
pms.hex2bin(str) # Convert hexadecimal string to binary string
|
||||||
|
pms.bin2int(str) # Convert binary string to integer
|
||||||
|
pms.hex2int(str) # Convert hexadecimal string to integer
|
||||||
|
|
||||||
|
|
||||||
Core functions for ADS-B decoding:
|
Core functions for ADS-B decoding:
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
Loading…
Reference in New Issue
Block a user