EmbLogic's Blog

PARALLEL PORT -8 led array

Succesfully implemented the parallel port outb operations using 8-led array!!!

I had firstly make a sculldev allocate memory to it so that i can map the file_operations through the
cdev_init and cdev_add operations and then map the parallel port address to the user address,then map the write operation to the driver and i had made a application for sending the data byte from the application through the node to the driver and received by the scull_write function in the map space then get the data from the application to the __user *buffer and then copy_from_user to get the data from application and then save it in the unsigned char buffer and then outb the data to the parallel port and continuously sending the data from the application and sending the data continuously to the port and the binary representation of the characters are shown on the led’s.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>