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

89c51 simulation

Hi, I am doing a project using 89c51.I hav to activate a motor using a relay and enable reverse relay wen reached end limit.At the same time ll hav to regularly scan three inputs and depending on it activate a voice informer.
I wud like to simulate all of this using a simulator , so i need som help on simulation.

Parents
  • hi friend, have you fix you're problem? did my asnwer help?
    no, pleas give more inrofmation or yes, you are welkom.

    some of my probs are fixe dbut i had to change the code so compiler did not error me!

    worst line was

    <code>
    value = (int) (((float) rite) / (( float) left) * (float) 10.0 )
    </code>

    bcoz compiler did not want my braket!

Reply
  • hi friend, have you fix you're problem? did my asnwer help?
    no, pleas give more inrofmation or yes, you are welkom.

    some of my probs are fixe dbut i had to change the code so compiler did not error me!

    worst line was

    <code>
    value = (int) (((float) rite) / (( float) left) * (float) 10.0 )
    </code>

    bcoz compiler did not want my braket!

Children