My project to build a computerized device to control opening/closing of the 
blinds in my window is slowly getting there... Thanks to Charles for some 
nice advice on choice of OS...

I ended up going with Bering. After some butchering I now have a nice, 
networked 1-floppy 486 system, with space enough (and then some) on the disk 
for my own custom stuff.

Along the way, I had to install the virtual development system on my main 
machine, in order to compile the C-routines that do the actual read/write to 
the parallel port. Great stuff !-)

I've decided to work my way 'in' from two endpoints, leaving the central 
piece (basically a controlscript, to be called as a cronjob) to be built 
last, when I know more about how exactly it will be called, and how it will 
get it's values:

HW/Lowlevel control of parallel port is pretty much where I want it.

The other end is probably best described:
Ultimately I want to be able to control operation from a webpage. To this end 
I've built a couple of 'proof of concept' scripts that I put in cgi-bin, and 
made links for on a 'test.html' page.

So now I can click a link 'forward', and the stepper motor turns forwards. 
This then produces another page with a link 'KillME' that finds the process 
and kills it. And a similar set of pages/links for 'reverse' :)

While this all works, I'm going to need some way of setting 'time to run' and 
a couple other things from the 'master' page. 

One (rather clunky) way would be to have a whole bunch of links of this type:
"Hour(tens) = 0, 1, 2"
"Hour(ones)= 0,1,2,3,4,5,6,7,8,9"
"Minute(tens)= 0,1,2,3,4,5
"Minute(ones)= 0,1,2,3,4,5,6,7,8,9
... and so on... 
Pretty ugly.

So what I'm asking now is this:

Is anyone aware of any way to have an input field on a page served by the 
weblet...?

It just occurred to me that I might get away with setting up a 'settime' 
script in cgi-bin that could get the value from the address line in the 
browser... something like:

http://blinder/cgi-bin/settime?06:30

-but a 'real' input field on the page *would* be nicer... 

I realize that the weblet is really only meant to be a passive thingy, but I 
thought I might as well ask anyway... In case somebody had already made 
something that might be adapted...

TIA for any thoughts/ideas

Jon Clausen

-- 
.signature ;)

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]

------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to