Just received my board and ran into a small problem with LED behavior.
The documentation shows.
red_led = pyb.LED(1)
green_led = pyb.LED(2)
blue_led = pyb.LED(3)
ir_leds = pyb.LED(4)
However when I run the following
import time, pyb
led = pyb.LED(2)
It turns a RED led on not the GREEN one as documented.
pyb.LED(3) turns on the GREEN led not the BLUE
pyb.LED(1) does not turn on any LEDS
I’m not sure about pyb.LED(4) since it’s IR and I can’t see that.
I found the following youtube OpenMV Review - Machine Vision Camera Module - YouTube (skip into 3:10)
This guy is using pyb.LED(3) and he gets the same result as me with a GREEN led not BLUE.
What’s going on?
Is this a firmware bug?
I’m running OpenMV IDE 2.0.0