logo

请教位高手了,请问一下class machine.Pin()等接口的源代码在哪里?

2018-03-22 08:39
8
lggxgd888

我想知道硬件驱动接口源代码在哪里找到,比如:p0 = Pin(0, Pin.OUT),那么Pin()的源码;又如:uart = UART(1, 9600) ,UART()的源码。谢谢了!

2018-03-22 09:34
I
网红小智智 星瞳科技

直接看源码基本是没用的,

<https://github.com/openmv/micropython/tree/openmv/ports/stm32>

直接看文档就行

<http://doc.singtown.cc/openmv_zh/library/index.html>

2018-03-22 19:18
8
lggxgd888

谢谢了。要深入了解啦。