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
34e5839f
Commit
34e5839f
authored
1 year ago
by
Eric Brombaugh
Browse files
Options
Downloads
Patches
Plain Diff
Don't forget the LUTwq
parent
4b6d1ab1
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
examples/spi_dac/Sine16bit.h
+259
-0
259 additions, 0 deletions
examples/spi_dac/Sine16bit.h
with
259 additions
and
0 deletions
examples/spi_dac/Sine16bit.h
0 → 100644
+
259
−
0
View file @
34e5839f
/* Sinewave LUT */
const
int16_t
Sine16bit
[
256
]
=
{
0
,
804
,
1608
,
2410
,
3212
,
4011
,
4808
,
5602
,
6393
,
7179
,
7962
,
8739
,
9512
,
10278
,
11039
,
11793
,
12539
,
13279
,
14010
,
14732
,
15446
,
16151
,
16846
,
17530
,
18204
,
18868
,
19519
,
20159
,
20787
,
21403
,
22005
,
22594
,
23170
,
23731
,
24279
,
24811
,
25329
,
25832
,
26319
,
26790
,
27245
,
27683
,
28105
,
28510
,
28898
,
29268
,
29621
,
29956
,
30273
,
30571
,
30852
,
31113
,
31356
,
31580
,
31785
,
31971
,
32137
,
32285
,
32412
,
32521
,
32609
,
32678
,
32728
,
32757
,
32767
,
32757
,
32728
,
32678
,
32609
,
32521
,
32412
,
32285
,
32137
,
31971
,
31785
,
31580
,
31356
,
31113
,
30852
,
30571
,
30273
,
29956
,
29621
,
29268
,
28898
,
28510
,
28105
,
27683
,
27245
,
26790
,
26319
,
25832
,
25329
,
24811
,
24279
,
23731
,
23170
,
22594
,
22005
,
21403
,
20787
,
20159
,
19519
,
18868
,
18204
,
17530
,
16846
,
16151
,
15446
,
14732
,
14010
,
13279
,
12539
,
11793
,
11039
,
10278
,
9512
,
8739
,
7962
,
7179
,
6393
,
5602
,
4808
,
4011
,
3212
,
2410
,
1608
,
804
,
0
,
-
804
,
-
1608
,
-
2410
,
-
3212
,
-
4011
,
-
4808
,
-
5602
,
-
6393
,
-
7179
,
-
7962
,
-
8739
,
-
9512
,
-
10278
,
-
11039
,
-
11793
,
-
12539
,
-
13279
,
-
14010
,
-
14732
,
-
15446
,
-
16151
,
-
16846
,
-
17530
,
-
18204
,
-
18868
,
-
19519
,
-
20159
,
-
20787
,
-
21403
,
-
22005
,
-
22594
,
-
23170
,
-
23731
,
-
24279
,
-
24811
,
-
25329
,
-
25832
,
-
26319
,
-
26790
,
-
27245
,
-
27683
,
-
28105
,
-
28510
,
-
28898
,
-
29268
,
-
29621
,
-
29956
,
-
30273
,
-
30571
,
-
30852
,
-
31113
,
-
31356
,
-
31580
,
-
31785
,
-
31971
,
-
32137
,
-
32285
,
-
32412
,
-
32521
,
-
32609
,
-
32678
,
-
32728
,
-
32757
,
-
32767
,
-
32757
,
-
32728
,
-
32678
,
-
32609
,
-
32521
,
-
32412
,
-
32285
,
-
32137
,
-
31971
,
-
31785
,
-
31580
,
-
31356
,
-
31113
,
-
30852
,
-
30571
,
-
30273
,
-
29956
,
-
29621
,
-
29268
,
-
28898
,
-
28510
,
-
28105
,
-
27683
,
-
27245
,
-
26790
,
-
26319
,
-
25832
,
-
25329
,
-
24811
,
-
24279
,
-
23731
,
-
23170
,
-
22594
,
-
22005
,
-
21403
,
-
20787
,
-
20159
,
-
19519
,
-
18868
,
-
18204
,
-
17530
,
-
16846
,
-
16151
,
-
15446
,
-
14732
,
-
14010
,
-
13279
,
-
12539
,
-
11793
,
-
11039
,
-
10278
,
-
9512
,
-
8739
,
-
7962
,
-
7179
,
-
6393
,
-
5602
,
-
4808
,
-
4011
,
-
3212
,
-
2410
,
-
1608
,
-
804
};
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