使用星瞳回数的串口助手,使用其他串口助手不回数
import sensor, image, time,pyb
led = pyb.LED(3)
led.on()
sensor.reset() # Initialize the camera sensor.
sensor.set_pixformat(sensor.RGB565) # use RGB565.
sensor.set_framesize(sensor.QQVGA) # use QQVGA for speed.
sensor.skip_frames(10) # Let new settings take affect.
sensor.set_auto_whitebal(False) # turn this off.
clock = time.clock() # Tracks FPS.
while(True):
clock.tick() # Track elapsed milliseconds between snapshots().
img = sensor.snapshot() # Take a picture and return the image.
a = img.get_pixel(75,60)
print("A",a,"B")什么意思?没看懂?:smiling_face_with_open_mouth_cold_sweat:
同样一块板子,星瞳的串口助手看见打印的数据,别的串口助手打印不出来


emmm,不太清楚了,应该是哪里的操作不一样,或者设置不一样。
星瞳串口助手的bug我能改,但是XCOM我肯定是没法改。:face_with_tears_of_joy:
我是自己写了一个C++串口的代码接收打印的数据,一开始收不到数,先用形同串口助手接收一次数据,再使用我自己的代码就能接收到数据了,重新上电后还是收不到,像是硬件的串口被星瞳串口助手激活了一样
星瞳串口助手并没有什么后门,并且是完全开源的,你可以看一下源码。
https://github.com/SingTown/SingTownSerialport