Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ch32v003fun
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Horn
ch32v003fun
Commits
f3e37e80
Unverified
Commit
f3e37e80
authored
1 year ago
by
CNLohr
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #263 from tintinnabulate/fix_ws2812b_simple_comment
Fix comment
parents
c77639e5
3d52b425
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extralibs/ws2812b_simple.h
+3
-8
3 additions, 8 deletions
extralibs/ws2812b_simple.h
with
3 additions
and
8 deletions
extralibs/ws2812b_simple.h
+
3
−
8
View file @
f3e37e80
/* Single-File-Header for using asynchronous LEDs with the CH32V003 using DMA to the SPI port.
I may write another version of this to use DMA to timer ports, but, the SPI port can be used
to generate outputs very efficiently. So, for now, SPI Port. Additionally, it uses FAR less
internal bus resources than to do the same thing with timers.
For the CH32V003 this means output will be on PORTC Pin 6
/* Single-File-Header for using asynchronous LEDs with the CH32V003 using GPIO.
Copyright 2023 <>< Charles Lohr, under the MIT-x11 or NewBSD License, you choose!
If you are including this in main, simply
If you are including this in main, simply
#define WS2812BSIMPLE_IMPLEMENTATION
You may also want to define
You may also want to define
#define WS2812BSIMPLE_NO_IRQ_TWEAKING
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment