HackRF-Treasure-Chest/Software/Universal Radio Hacker/tests/data/encode.py
2022-09-22 13:46:47 -07:00

10 lines
165 B
Python

#!/usr/bin/env python
"""
Simple example external encoding
Simply doubles each bit of the input
"""
import sys
bits = sys.argv[1]
print("".join(b+b for b in bits))