As you can see above i have used the InterfaceKit-simple program and i was trying to get results from tempsensor...I have used TemperatureSensor-simple.c and i cannot understand why that programm is speciffically built for 1051 sensor???AdamS wrote:You would need to use a code sample for the PhidgetInterfaceKit. There should be a InterfaceKit-simple program in there, and to get the data for the temperature sensor you would need to poll the sensor value of the index in which the temperature sensor is plugged in, or use the sensor changed events.
1st question:What is the difference???As i saw in your forum the 1070SBC and generally any interface kit doesn't recognize sensors in its analog inputs, only voltage!!!am i correct????
so if i take voltage and with the formula that exists in 1125.pdf i can convert the value i take from my sensor to temperature...right?????(And things aren't the same for the humidity sensor too???)so why isn't the programm proper for my 1125 sensor??????????
2nd question: please tell me and be as much explanatory as you can, which functions should i use to take measurements with my 1125 sensor(see also my code above)
3d question: if i want to control a motor in one of my digital output with a pwm, how can i achieve it???Do i must built an external circuit, or PWM is built on board???In any case with which functions do i do that???
Please give me your answers in a more explanatory way...if you cannot provide code samples, then give me a structure of the programms with functions and comments on the program's stucture...
thank you very much for your time...