logo

openmv4h7 plus烧了v4.3.0固件后为什么部分示例无法正常运行?

2024-07-26 02:21
6
hogx

import time

from machine import LED

led = LED("LED_BLUE")

while True:

led.on()

time.sleep_ms(500)

led.off()

time.sleep_ms(500)

#上面IDE示例代码报错无法识别LED

import time

from pyb import LED

red_led = LED(1)

green_led = LED(2)

blue_led = LED(3)

ir_led = LED(4)

#使用该代码可正常运行

LCD也会有同样的问题,烧了v4.3.0固件后import lcd仍旧无法识别,IDE也必须用原来的版本吗?

2024-07-26 19:10
I
网红小智智 星瞳科技

https://book.openmv.cc/example/11-LCD-Shield/lcd.html

https://book.openmv.cc/example/01-Basics/blinky.html