Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

T_4.1 DMA example #62

Open
Defragster opened this issue Jun 21, 2020 · 2 comments
Open

T_4.1 DMA example #62

Defragster opened this issue Jun 21, 2020 · 2 comments

Comments

@Defragster
Copy link

forum post : https://forum.pjrc.com/threads/61451-Teensyduino-1-53-Beta-2?p=243846&viewfull=1#post243846

Also note: TD 1.53 is in Beta - is ADC ready to get an update in TeensyDuino? Short time frame with new IDE 1.8.13 release.

The example : \libraries\ADC\examples\ adc_dma
uses unsupported setcommands:

// adc->setAveraging(8, ADC_1); // set number of averages
// adc->setResolution(12, ADC_1); // set bits of resolution
adc->adc1->setAveraging(8);
adc->adc1->setResolution(12);

@Defragster
Copy link
Author

Updated post - it is working when example is edited without pulled current github - but the example func() usage above has issue as noted?

@pedvide
Copy link
Owner

pedvide commented Jun 25, 2020

The example is fine in the master branch.
I'm not sure what version of the library that code is from, but now it's fixed as far as I can see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants