I am having troubles setting a constant voltage level for a tristate digital out pin on the Digital Discovery using the SDK. I can easily set a constant voltage level for a push-pull configuration using the below code, but this does not work when the OutType is set to tristate.
Question
akeener
Hello,
I am having troubles setting a constant voltage level for a tristate digital out pin on the Digital Discovery using the SDK. I can easily set a constant voltage level for a push-pull configuration using the below code, but this does not work when the OutType is set to tristate.
dwf.FDwfDigitalOutTypeSet(hdwf, c_int(1), c_int(0)) dwf.FDwfDigitalOutCounterInitSet(hdwf, c_int(1), c_int(0), c_int(0)) dwf.FDwfDigitalOutCounterSet(hdwf, c_int(1), c_int(0), c_int(0))
Any suggestion on how to implement this for the tristate case?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.