- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am changing a project from arduino to psoc 5lp. The project uses APA102 leds. Would anyone have example code or be able to point me towards resources for getting these working?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Steven,
We currently do not have a code example with apa102 leds. However you can do the following
When you are changing project from arduino to PSoC then:
- You need to convert the arduino Library C++ code to C code because PSoC Creator supports C.
- Then you need to convert the arduino specific API's to PSoC specific API's.
- Here is the link to get started with PSoC Creator: Tutorial: Getting started with PSoC Creator | Blinking an LED · open-storm/docs.open-storm.org Wiki ...
In this case you need to drop two digital output pins in the TopDesign: one for DI and other for CI input.
Connect the VCC and GND of the APA102 leds to the VCC and GND pins of the PSoC 5LP kit.
While assigning pins in the Design wide resources, you can choose desired pins by having a look at pinouts section of the datasheet of the PSoC 5LP device you are using.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Steven,
We currently do not have a code example with apa102 leds. However you can do the following
When you are changing project from arduino to PSoC then:
- You need to convert the arduino Library C++ code to C code because PSoC Creator supports C.
- Then you need to convert the arduino specific API's to PSoC specific API's.
- Here is the link to get started with PSoC Creator: Tutorial: Getting started with PSoC Creator | Blinking an LED · open-storm/docs.open-storm.org Wiki ...
In this case you need to drop two digital output pins in the TopDesign: one for DI and other for CI input.
Connect the VCC and GND of the APA102 leds to the VCC and GND pins of the PSoC 5LP kit.
While assigning pins in the Design wide resources, you can choose desired pins by having a look at pinouts section of the datasheet of the PSoC 5LP device you are using.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content