1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

A simple processing unit

  1. Oct 10, 2009 #1
    1. The problem statement, all variables and given/known data
    Hi there
    I'm trying to make a processing unit(digital)
    1 1 -> A signal from output which lights a led(a)
    1 0 -> A signal from another output which lights another led(b)
    0 1 -> signal from (a) to light a
    0 0 -> no signals

    so basically there should be 2 inputs with 2 outputs


    2. Relevant equations



    3. The attempt at a solution

    I tried this to do in pic controllers but finding it too hard to implement the assembly language. But since I'm running out of time I'm giving up on that
    1. The problem statement, all variables and given/known data



    2. Relevant equations



    3. The attempt at a solution
     
  2. jcsd
  3. Oct 10, 2009 #2

    MATLABdude

    User Avatar
    Science Advisor

    This is very simple to do in a PIC using a combination of reading a port (and two pins on the port) and then some conditional statements that control the output of another port. Regardless, I suggest you make a proper truth table, with inputs on one side, and outputs on the other, since I'm certainly confused what should be happening, and when. For instance:

    Code (Text):

    INPUTS      OUTPUTS
    INA INB LEDA    LEDB
    0   0   0   0
    0   1   0   1
    ...
     
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: A simple processing unit
  1. Adiabatic process (Replies: 3)

  2. Image Processing (Replies: 2)

  3. Wiener Process (Replies: 0)

Loading...