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

HELP!

Dose anybody know the purpose of doing this

void Send_CmdNo(unsigned char command){

  CSX=0;
  RDX=1;
    D_CX=0;
        DBUS=command;
        WRX=0;
        WRX=0;
        WRX=0;
        WRX=1;
  CSX=1;
}

why use WRX=0 3 times b4 WRX=1?
wouldn't that just give you WRX=1?

by the way WRX is just

sbit WRX        = P7^2;

does it mean on the I/O pin the output will send out
0 three times and 1 one time? It performs that fast?

Parents
  • I am not saying one is better, or right, or wrong - But until I see a project that requires such practices, I'll stick with what I am comfortable with.

    you have your opinion, I have mine and we will both "stick with what I am comfortable with".

    That does not mean that the pitfalls and pratfalls of either should not be brought to light.

    Erik

Reply
  • I am not saying one is better, or right, or wrong - But until I see a project that requires such practices, I'll stick with what I am comfortable with.

    you have your opinion, I have mine and we will both "stick with what I am comfortable with".

    That does not mean that the pitfalls and pratfalls of either should not be brought to light.

    Erik

Children