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

Perpetual motion controller

Hi,

I have this design for a controller but i dont know the program for it?

Where can I find the code for it? I tried google coding but cannot find it. I normally write Pascal(Delphi) but this needs to be in Keil C for a 8051.

I need to get it working quickly. Who will help?

Parents
  • Why do people keep using my name around here?

    That's because you haven't learnt how to comment code properly. Here's a template you could try following in the future:

    /***************************************************
     * File:
     *
     * Author:
     *
     * Revision:
     *
     * Revision history:
     *
     * Purpose:
     *
     * <Veiled disparaging reference to someone you dislike>
     *
     * Scope:
     *
     * Applicability:
     *
     * Side effects:
     *
     * <Snide swipe at code monkeys here>
     *
     * Arguments:
     *
     * Globals referenced:
     *
     * <Interminable discourse about globals>
     *
     * <Snide code monkey reference>
     *
     * Return value:
     *
     **************************************************/
    
    void IncrementA(void)
    {
       a=a+1;
    
       /*************************************
        *
        * <lengthy discourse about a++ versus a=a+1
        *
        *************************************/
    }
    

Reply
  • Why do people keep using my name around here?

    That's because you haven't learnt how to comment code properly. Here's a template you could try following in the future:

    /***************************************************
     * File:
     *
     * Author:
     *
     * Revision:
     *
     * Revision history:
     *
     * Purpose:
     *
     * <Veiled disparaging reference to someone you dislike>
     *
     * Scope:
     *
     * Applicability:
     *
     * Side effects:
     *
     * <Snide swipe at code monkeys here>
     *
     * Arguments:
     *
     * Globals referenced:
     *
     * <Interminable discourse about globals>
     *
     * <Snide code monkey reference>
     *
     * Return value:
     *
     **************************************************/
    
    void IncrementA(void)
    {
       a=a+1;
    
       /*************************************
        *
        * <lengthy discourse about a++ versus a=a+1
        *
        *************************************/
    }
    

Children