How to connect 4 pin LED to Circuit Playground Express and communicate via MakeCode

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
allewei
 
Posts: 1
Joined: Wed Dec 14, 2022 7:00 am

How to connect 4 pin LED to Circuit Playground Express and communicate via MakeCode

Post by allewei »

Hi Folks,

I am attempting to connect an 8mm through hole LED (https://www.adafruit.com/product/1734) to my Circuit Playground Express. Can someone please advise how I should be connecting the 4 pins? (particularly in reference to the data in and data out)? I have been attempting to reference the LED as a Neopixel strip with 1 LED, for MakeCode purposes. (I have communicated with actual LED strips no problem using this method).

My overall goal is to have it that when a touch capacitor is pressed the 8mm LED turns on.

Currently I have the touch capacitor working (using the onboard LED's as the success signal, rather than the external LED).

I have got the external LED powered and shining, but I can't seem to communicate or change the external LED function at all with any code I am sending it.

I imagine I am missing something extremely obvious!

Many thanks~

User avatar
dastels
 
Posts: 15653
Joined: Tue Oct 20, 2015 3:22 pm

Re: How to connect 4 pin LED to Circuit Playground Express and communicate via MakeCode

Post by dastels »

See https://cdn-learn.adafruit.com/assets/a ... 1399396638 for pin connections.

Once it's wired correctly, create a 1-pixel string as you say.

Dave

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”