# Jay Summet # Released to the public domain, Sep 29th 2008 # # A Program that creates a simple webpage that includes # an animated picture from the robot's camera and light # sensor readings. from myro import * init() #Open the webpage file for writing. myFile = open("demo.html","w") #Write the top of the webpage. pageTop = """
Here is some text
"""
myFile.write(pageTop)
picList = []
for i in range(10):
#Turn a bit, and sample the light sensor.
turnRight(0.33,0.33)
lightValue = getLight("center")
lvStr = "