I finally received my Netduino+ after 2 weeks
I got my onboard button and led to work, an external led too, and now I'm at my temperature module...
I got everything connected as stated here for the arduino http://bildr.org/201...s18b20-arduino/
but I can't figure out how I can retrieve data from my module.
I suppose I should be using the instantiation of
OutputPort TemperatureSensor = new OutputPort(Pins.GPIO_PIN_A4, false);but then what?
After reading the datasheet of the module I came across:
digital thermometer provides 9-bit to 12-bit Celsius temperature measurements and
has an alarm function with nonvolatile userprogrammable upper and lower trigger points.
So I should be getting a 9 or 12 bit number... but in what? 10digit? hexa? I dont suppose binary.
And how about the userprogrammable upper and lower?
If someone can push me in a right direction I suppose every reading of any outputting module would be programmed like this. Also if possible I rather have code without extending any external classes (just to learn about it) afterwards I might be using some of em.
Kind regards