How call python function from C in MicroPython

Viewed 265

I have a function in my C-code and I want to call a python function that has been written in python script. Is it possible in MicroPython? If yes, how can I do it?

My C-Code Function:

float bar_C_Fun(int i, int j){
 return foo_Py_Fun(I,j);
 }

My Python-Code Function:

def  foo_Py_Fun(i , j):
  return i/j
1 Answers
Related