read 2 differential analog signals simultaneously using teensy 3.2

Status
Not open for further replies.

Fatima_H

Active member
Hello everyone
I try to read 2 differential analog signals simultaneously using teensy 3.2 and I used the following function:
analogSyncReadDifferential( A10, A11,ADC_0 , A12, A13,ADC_1);

based on the function in the main library which is:
int analogReadDifferential(uint8_t pinP, uint8_t pinN, int8_t adc_num = -1);

I think that I have a mistake in parameters of the function, I tried a lot but I didn't have the right form of them
can anyone explain me the meaning of "adc_num = -1", please?
 
sorry to hijack this question ... but where does analogSyncReadDifferential() function originate, and where is it documented?
TAI
 
Status
Not open for further replies.
Back
Top