wood burning stoves 2.0*
The moose likes Java in General and the fly likes Create New Driver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Create New Driver" Watch "Create New Driver" New topic
Author

Create New Driver

Sam Varghese
Greenhorn

Joined: Feb 24, 2007
Posts: 6
Hai guys,

I would like to create a new driver which can control my home lightings. But I don't know how to write a device driver program. Anyone please help me with some tips or some codes of other driver been created.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18765
    
  40

A device driver (or any driver), is a set of code, that conforms to an interface, and is loaded into a "framework" of some kind.

Which framework are you referring to that (a) controls home lightning systems, and (b) allows you to write a driver for?

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

perhaps you want to access a serial or usb port?
Sam Varghese
Greenhorn

Joined: Feb 24, 2007
Posts: 6
I don't have much idea about it.I would like to write a driver which is that which is in portable. I think XML would be better.

I wanted to access USB port.
Sam Varghese
Greenhorn

Joined: Feb 24, 2007
Posts: 6
I want a driver for UPnP.
Sam Varghese
Greenhorn

Joined: Feb 24, 2007
Posts: 6
The framework used is Niagara AX.
 
Don't get me started about those stupid light bulbs.
 
subject: Create New Driver