Connect with us

join 2 8-bit outputs to one 16-bit(parallel port)

Discussion in 'General Electronics Discussion' started by miguel71, Jun 12, 2012.

Scroll to continue with content
  1. miguel71

    miguel71

    1
    0
    Jun 12, 2012
    I want to put 4 leds in a row and connect them to parallel port(Thats easy). The problem is i want also to control the brightness of the leds. I could easily do that using a r-2r dac, but the parallel port only has 8 pins(leaving 2 for each), at least i want 4 brightness settings for each(using 4 pins for each).

    I am thinking in a way to send the data 2 time like this

    10110100



    01101001

    so for the first led it wold be 1011, the second 0100, the third 0110 and the fourth 1001.


    Can someone help me with that
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-