在 Python 中声明“uint8_t”* 类型的变量的最佳方法是什么?
uint8_t 管道编号;
第 182 行
https://github.com/maniacbug/RF24/blob/master/examples/starping/starping.pde
最佳答案
ctypes 库将帮助您将 Python 与 C 库连接起来,请参阅 ctypes library documentation 。您可能想使用 c_ubyte
或 c_ushort
类型。
关于python - 如何在Python中声明类型为 "uint8_t"*的变量,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27785137/