Bananian

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

0 1416
Dragas  
Hello,

I try to run RFM73 on Banana Pi, but some methods in libraries are incompatible. I use source from https://github.com/freakone/NodeNetwork/tree/master/rfm73-rpi_server.
I have active hardware SPI, but when I run code, I got:
  1. BAPI: revision(1)
  2. Traceback (most recent call last):
  3.   File "main.py", line 14, in <module>
  4.     rfm73.init(rfm_interrupt)
  5.   File "/home/bananapi/RFM73/rfm73.py", 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