adding sample code for rtd / arduino setup