- Code: Select all
[DllImport("adc1632.dll", EntryPoint = "adc16_get_value")]
private static extern short GetValue(out int value, short port, short channel);
But when I try using it, it always return 0.
Where's the problem? Is my declaration correct?
Thanks
Cart

