【发布时间】:2021-11-29 14:57:09
【问题描述】:
我的 C 代码中有一个函数,我想调用一个用 Python 脚本编写的 Python 函数。在 MicroPython 中可以吗?如果是,我该怎么做?
我的 C 代码功能:
float bar_C_Fun(int i, int j){
return foo_Py_Fun(I,j);
}
我的 Python 代码函数:
def foo_Py_Fun(i , j):
return i/j
【问题讨论】:
标签: c embedded stm32 micropython