Re: [Tutor] Python Arduino Web Page

2013-08-15 Thread Dave Angel
Engineering wrote: snip o:idmap v:ext=edit data=1 / /o:shapelayout/xml![endif]--/headbody lang=EN-IN link=blue vlink=purplediv class=WordSection1p class=MsoNormalI have written the following code in Python for my Arduinoo:p/o:p/pp class=MsoNormalo:pnbsp;/o:p/pp

[Tutor] Python Arduino

2013-08-12 Thread Engineering
Dear All I have designed a small program to control an arduino through python socket server. The front end is the Javaquery. My HTML code is given below $(function() { $( #slider ).slider({ min: 0, max: 180, step: 10, slide: function( event, ui ) {

[Tutor] Python Arduino Web Page

2013-08-11 Thread Engineering
I have written the following code in Python for my Arduino #!c:\Python27\Python.exe import cgi, cgitb; import sys, serial cgitb.enable() ser = serial.Serial('COM27', 9600) myvar = ser.readline() print Content-type:text/html\n\n print html head title Real Time Temperature /title