I have tested the LED with a standard power supply at 3.3v, I have a multimeter set up at the starting point of pin PI0, as well as multiple portentas I know work. I am able to make stuff like servos and buttons work, but I am unable to get an LED to work.
EDIT: I tried replacing 1 and 0 with True and False but it does not work still
did you tried another pin?
the code is really simple so you must troubleshoot hardware.
did you try with just this code or are you using these few lines inside another ?
did you measure with multimeter without the led?
i will not recomend attaching leds on microcontrollers output without a resistor though.
what led is that? what is the forward voltage?
Tried multiple pins
Ran it only with this code
Yep I tried
Its just a standard LED, I could find the datasheet for the forward voltage but I could be wrong to assume that the voltage out of a high logic would be 3.3V or 5V
I understand the code is really simple which is where my frustration is coming from. I have reason to believe it could be the pin constructor that I have made a mistake with since the portenta H7 cheatsheet says stuff quite different than the Micropython documentation for openMV
what color is it? what type? i nevered used portena but in the docs you sent they say that the high is 3.3V.
A clear white led has around 4 volt Vf.
A red difussed led has only 1.7 Vf.
If you attach a red led without a resitor on output of a microcontroler thois output will be fired up.
Just try without a led . just put a 10k resitor between the pin and the gnd…
Can you measure the 3,3vdc between the pin and gnd?