Feb-14-2017, 02:33 AM
Hi.
How do I get a python code to call a C code?
The reverse doesnt seem to be working as C doesnt support a few nescessary advanced libraries.
I am using WiringPI on the odroid c2 . I have a C code that uses the wiringP library and another python script that does something else. I want this python script to call the C code (functions) in a loop using CTYPES
Kindly help.
Thank you.
How do I get a python code to call a C code?
The reverse doesnt seem to be working as C doesnt support a few nescessary advanced libraries.
I am using WiringPI on the odroid c2 . I have a C code that uses the wiringP library and another python script that does something else. I want this python script to call the C code (functions) in a loop using CTYPES
Kindly help.
Thank you.