SEEED pins not working

I just got the SEEED STUDIO XIAO SAMD21 boards. I can control the built in led so i assume Im uploading code correctly. however, no matter what code i upload i cant get any input or output from it. The power and ground pins are working but nothing from the controlled pins.

Update: There is no resistor on the led. the ground and 3V3 pins work. nothing i write to the board does anything for the programmable pins.

Please post your formatted code in a code block.

What is connected to the pins? A schematic would likely be helpful.

The board is connected to the USB on my pc. An led is connected to ground and pin 9 on the board. the led worked when connected directly to the 3v pin but not to a controlled pin. The code is just writing pin 9 high. it worked on an Arduino uno board.

Are you sure of the polarity of the LED?

Input pinMode to OUTPUT?

I tried both ways to double check and still nothing. Yes the pin mode is set to output.

Current limiting resistor in place?

Not that i know of. the led is connected directly to the pins.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.