I am able to get the card working OK using Access VBA. … except…
I am trying to use the analog input.
I have placed a thermister accross GND and A1, also a Light dependent resister accross GND and A2 analog inputs.
I was expecting there to to be a reaction to changes and light and temperature, but the small test programme I wrote below reacts only to the two potentiomterss being changed.
Removing the link brings the reading down to zero.
Should there be a voltage source applied to the connections in some way?
I realise that the program below is not wonderful … but it just to witness that the 8055 reacts to light and heat changes. Once I have the expected reaction from the two devices, I hope to write something appropriate
Any advice will be gratefully received.
#######################################
Function test_card()
Dim a As Long
Dim data1 As Long
OpenDevice (0)
SetAnalogChannel (1)
a = 1
Do While a = 1
data1 = readanalogchannel(1)
Debug.Print data1
Loop