Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

some c help please?

Options
  • 24-02-2006 4:25pm
    #1
    Closed Accounts Posts: 1,347 ✭✭✭


    can someone give me a hand here, i have some code for an atmel microcontroller,
    i wish to sent a burst of data, wait a period of time, and then send another burst of data.
    the while loop does this.

    at the start of the code i set the register for the sleep mode
    then in the while loop after the data was sent i issued a wait command followed by the go to idle mode instruction.

    is this correct?
    :confused:


Comments

  • Closed Accounts Posts: 1,746 ✭✭✭0utshined


    Could you post the code in the code tags or as a text file even?

    I'd have a look over it for you but there I don't fancy downloading a word doc.


  • Closed Accounts Posts: 1,347 ✭✭✭legs11


    here are the c files, whgat do you think?

    not sure where to issue the sleep mode instructions, (in the while loop?)
    want to set it to idle for about a minute and then re transmit data again.

    cheers


Advertisement