Hello
I am trying to solve a software bug in my coding of the teensy3.2.
first hunch,
can I use the DAC on pin 14 simultaniously with the ADC analogRead A3, A4? or are they not seperated?
and if so How can I seperate them?
What I am trying to do, 2 buttons a tft screen and a teensy with a BNC driver opamp, is driven by a sequence of a staircase function 0...10V-->voltage_divider--->0...3.3V, which gives me different phases 0,1,2 on the screen, sofar so good.
if the 3 phase is on the screen a blue and a red button needs to be pressed and is checked with a simple if statement.
if pressed Red or Blue, the DAC on 14 gives out a specific voltage over a second bnc that is equal to -12V,0,12V from the opamp.
the voltage sticks on -12V for some reason
I have attached the code just in case.
sincerely yours
Bastiaan
I am trying to solve a software bug in my coding of the teensy3.2.
first hunch,
can I use the DAC on pin 14 simultaniously with the ADC analogRead A3, A4? or are they not seperated?
and if so How can I seperate them?
What I am trying to do, 2 buttons a tft screen and a teensy with a BNC driver opamp, is driven by a sequence of a staircase function 0...10V-->voltage_divider--->0...3.3V, which gives me different phases 0,1,2 on the screen, sofar so good.
if the 3 phase is on the screen a blue and a red button needs to be pressed and is checked with a simple if statement.
if pressed Red or Blue, the DAC on 14 gives out a specific voltage over a second bnc that is equal to -12V,0,12V from the opamp.
the voltage sticks on -12V for some reason
I have attached the code just in case.
sincerely yours
Bastiaan