Created
August 4, 2017 09:07
-
-
Save gyaresu/93899e140e3e0190ce7b64531fb4e840 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rflib import * | |
import time | |
d = RfCat() | |
def init(d): | |
d.setFreq(433955000) | |
d.setMdmModulation(MOD_ASK_OOK) | |
def run(): | |
for x in range(50): | |
d.RFxmit("\xaa\xaa\xaa\xaa\xa3\x9a\xe5\x45\x96\x59\x76\x59\x65\x8d\x62\xb4\xcb\x2a\xb2\xab\x17\x95\x93\x1c\xb1\x67\x64\xb2\xab\x35\x93\x86\x96\xac\xa0") | |
time.sleep(1) | |
init(d) | |
run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment