This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-core-4.1
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Corrected an copy paste error
teensy4-core
Mike S
6 years ago
parent
756b9c4b0f
commit
cd07025412
1 changed files
with
2 additions
and
0 deletions
Unified View
Show Diff Stats
+2
-0
teensy4/analog.c
+ 2
- 0
teensy4/analog.c
View File
void analogReadAveraging(unsigned int num)
void analogReadAveraging(unsigned int num)
{
{
uint32_t tmp32, mode, avg=0;
//disable averaging
//disable averaging
tmp32 = ADC1_GC;
tmp32 = ADC1_GC;
ADC1_GC &= ~0x20;
ADC1_GC &= ~0x20;
Write
Preview
Loading…
Cancel
Save