This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

multiplier IC

i have analoge volts on the pins.

How can you achieve z=x*y with 8051? 2V*(-3V)=-6V for example

Parents Reply Children
  • now I am sure he will get an a on his test

    uh... thanks erik.

    After posting it, I quickly spotted an error. (not that there is only one).

    It turns out that I didn't allocate 'timed_out' and then I didn't initialize it prior to the while( time_out_timer > 0 ) loop. So if time_out_timer was 0, then timed_out is un-assigned, thus the if( timed_out != FALSE ) test becomes an invalid test. The system fails, millions are lost, and as a result of the failure, a Mr. Boro Berak (this OP) is hired to replace me while the crayon on his diploma is still drying.

    Mr. Berak will quickly hire erik malund and he shall ask some fairly simple questions...

    which '8051'
    which language (C, Pascal, assembler)
    which a/d (internal/external)
    what supply voltages do you have
    what precision do you need
    what resolution do you need
    what fluency do you have in programming
    what experience do you have in analog design

    --Cpt. Vince Foster
    2nd Cannon Place
    Fort Marcy Park, VA

  • Maybe not: that's a pretty distinctive style, and any decent teacher would instantly spot whether or not it is typical of the student's own work...