Hi
I am a little bit confused with using the DAC.
The manual shows code like
very straight forward
but I am getting a syntax error that DAC_PIN is not defined.
does not work either.
Also, how does it work that the TXD pin will be the DAC output? Will it not block the programming
once it is running and outputting voltage?
Thanks for your help - as always!
I am a little bit confused with using the DAC.
The manual shows code like
Code:
'init:
low DAC_PIN ; make the DAC pin an output
dacsetup %10100000 ; external DAC, supply voltage
main: for b1 = 0 to 31
daclevel b1 ; set DAClevel
pause 1000
next b1
goto main
very straight forward
but I am getting a syntax error that DAC_PIN is not defined.
Code:
symbol DAC_PIN = TXD
Also, how does it work that the TXD pin will be the DAC output? Will it not block the programming
once it is running and outputting voltage?
Thanks for your help - as always!