Changes

Jump to navigation Jump to search
2 bytes removed ,  15:18, 18 January 2016
no edit summary
Line 18: Line 18:     
== Code example ==
 
== Code example ==
You can read temperature and humidity values with any software that connects to a serial port. Most conveniently you can use the [https://pypi.python.org/pypi/RuSocSci RuSocSci] library in python.  Here is a little example how to write a script that reads the temperature and humidity and writes it to the standard output (console):
+
You can read temperature and humidity values with any software that connects to a serial port. Most conveniently you can use the [https://pypi.python.org/pypi/RuSocSci RuSocSci] library in python.  Here is a little example how to write a script that reads the temperature and humidity and writes it to the standard output (console):<code>
 
  −
<code>
   
  #!/usr/bin/env python
 
  #!/usr/bin/env python
 
  # -*- coding: utf-8 -*-
 
  # -*- coding: utf-8 -*-

Navigation menu