Engineering wrote:
>
>
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 ) {
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 """
Real Time Temperature
window.o