Can you please show how to setup rc522?
After try from http://www.orangepi.org/orangepibbsen/forum.php?mod=redirect&goto=findpost&ptid=2419&pid=18357
:
swig -python wiringpi.i
bindings.i:55: Error: Unknown SWIG preprocessor directive: int (if this is a block of target language code, delimit it with %{ and %})
bindings.i:56: Error: Unknown SWIG preprocessor directive: int (if this is a block of target language code, delimit it with %{ and %})
or
swig3.0 -thread -python wiringpi.i
swig error : Unrecognized option -thread
or
swig3.0 -python wiringpi.i
bindings.i:55: Error: Unknown SWIG preprocessor directive: int (if this is a block of target language code, delimit it with %{ and %})
bindings.i:56: Error: Unknown SWIG preprocessor directive: int (if this is a block of target language code, delimit it with %{ and %})
May be already exist C only library for this device?