Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ArduinoZeroTemplate
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GRASP
ArduinoZeroTemplate
Commits
728a7a9a
Commit
728a7a9a
authored
2 years ago
by
Bengt Ragnemalm
Browse files
Options
Downloads
Patches
Plain Diff
comments
parent
5bcd1242
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ArduinoZeroTemplate.c
+3
-1
3 additions, 1 deletion
src/ArduinoZeroTemplate.c
src/ArduinoZeroTemplate.h
+1
-1
1 addition, 1 deletion
src/ArduinoZeroTemplate.h
with
4 additions
and
2 deletions
src/ArduinoZeroTemplate.c
+
3
−
1
View file @
728a7a9a
...
...
@@ -58,6 +58,8 @@ void ArduinoZeroTemplate(void)
}
}
// Create example of using ADC
while
(
true
)
{
}
// end while (true) infinite loop
...
...
@@ -225,7 +227,7 @@ void ArduinoZeroTemplateInit(void)
// But in the current version of ASF there is no support for DAC channels. See dac.h
// Note: There are just a few SAM devices that has more than one DAC, like the SAM4L-family.
// Output is probably enabled by dac_init or dac_enable but otherwise it must be done
also
.
// Output is probably enabled by dac_init or dac_enable but otherwise it must
also
be done.
// Internal ADC
adc_get_config_defaults
(
&
adc_config_struct
);
...
...
This diff is collapsed.
Click to expand it.
src/ArduinoZeroTemplate.h
+
1
−
1
View file @
728a7a9a
...
...
@@ -138,7 +138,7 @@ Available for user
#define MAX_USART5_RX_BUFFER_LENGTH 5
// Analog in addition in progress
//
Configuration shall be set and how to read. Also if it should be callback or not
//
How to read is missing.
// Functions
void
ArduinoZeroTemplateInit
(
void
);
...
...
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