我说的不是人脸,我记得有个示例是检测图像内有没有人,我记得这个示例就在移动物体检测示例的附近。
A
al61_1594382431 发布的帖子
-
CAN模块编译不通过?
# CAN循环测试 # CANbps= Fpclk/((BRP+1)*((Tseg1+1)+(Tseg2+1)+1) # 所以这里CANbps=APB1总线频率54000000/9/(7+4+1))=500k bps # 总体配置方向: Tseg1>=Tseg2 Tseg2>=tq; Tseg2>=2TSJW from pyb import CAN import time #freq = pyb.freq() can2 = CAN(2, CAN.NORMAL) can2.init(CAN.NORMAL,False,9,sjw=1,bs1=7,bs2=4) #500k波特率 can2.setfilter(0, CAN.LIST16, 0, (0,0,0,0)) # set a filter to receive messages with id=123, 124, 125 and 126 can2.send('12345678', 123) # send a message with id 123 while(True): # print(can2.recv(0,timeout=50000)) # receive message on FIFO 0 can2.send('12345678',123) # send a message with id 123 time.sleep(1000)