Using readVoltage() function i am getting a single value of reading at a time, using loop getting around 110 samples per sec. How can i create an array in microcontroller memory of arduino so as to get higher sampling rate and then call entire array?

I am using arduino due which has 96 Kb of RAM. I want to use full sampling speed of microcontroller's ADC. I am trying to make a function like readVoltage() to return a string of data from microcontroller's memory but it seems tough job. Please help how can i proceed? I saw this function codes to modify it but it uses some super classes and i could not find these classes, but i am sure its possible and easy for person who made this function.

Answers (0)

Categories

Products

Asked:

on 19 Dec 2018

Commented:

on 20 Dec 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!