nahueldsanchez / pycc1101

PYCC1101 a simple Python wrapper for the CC1101 RF Transceiver. I've been using it with a CC1101 Arduino module connected trough SPI to a Raspberry Pi.
MIT License
31 stars 17 forks source link

assert component_version == 0x14 #3

Open dr-apple opened 6 years ago

dr-apple commented 6 years ago

Hi i have this problem:

python rx.py Traceback (most recent call last): File "rx.py", line 8, in ticc1101.selfTest() File "/home/pi/pycc1101/pycc1101/pycc1101.py", line 167, in selfTest assert component_version == 0x14 AssertionError

What can i do ti fix the problem ?

unixb0y commented 5 years ago

Can you do a print(component_version)? Most probably you have a mistake in your wiring or so. This is a check to see if everything is configured correctly and it appears not to in your case.

nahueldsanchez commented 5 years ago

Hi @dr-apple, as @unixb0y told you, probably there is some problem with the wiring or with the component itself. That assertion is based on the TICC1101 documentation. Can you review how your module it's connected?

TIM-PBR commented 4 years ago

嗨,我有这个问题:

蟒蛇rx.py 回溯(最近通话最后一个): 文件“rx.py”,8号线,在 ticc1101.selfTest() 文件“/home/pi/pycc1101/pycc1101/pycc1101.py”,线路167,在自检 断言component_version == 0x14 AssertionError

Hello, have you solved this problem? I have the same problem. Thank you

eadmaster commented 6 months ago

this happens if you don't connect the pins correctly