Demo entry 5234386

lala

   

Submitted by anonymous on Jun 10, 2016 at 15:56
Language: C#. Code size: 485 Bytes.

using Tinkerforge;

class Example
{
    static void main()
    {
        IPConnection ipcon = new IPConnection();
        BrickletTemperature temp = new BrickletTemperature("Xwe", ipcon);
        BrickletLCD20x4 lcd = new BrickletLCD20x4("W2a", ipcon);
        
        ipcon.Connect("192.168.0.42", 4223);
        
        short temperature = temp.GetTemperature();
        
        lcd.WriteLine(0, 0, temperature / 100.0 + " °C");
        lcd.BacklightOn();
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).