[Python]Run RFM73 on Banana Pi - incompatible libraries with Rpi

0 1416

I try to run RFM73 on Banana Pi, but some methods in libraries are incompatible. I use source from
I have active hardware SPI, but when I run code, I got:
  1. BAPI: revision(1)
  2. Traceback (most recent call last):
  3.   File "", line 14, in <module>
  4.     rfm73.init(rfm_interrupt)
  5.   File "/home/bananapi/RFM73/", line 90, in init
  6.     RPIO.add_interrupt_callback(IRQ, callback, edge='falling', pull_up_down=RPIO.PUD_OFF)
  7. AttributeError: 'module' object has no attribute 'add_interrupt_callback'
Copy the Code
What should I do to run this code?
You have to log in before you can reply Login | Sign Up

Points Rules