Anyone please give me the C source code for the program. It is urgent.
Q. Low power applications in embedded systems use a power down mode on a microcontoller and a low frequency oscillator and counter to periodically wake the application up to see if something needs to be done or to perform task as needed. in the low power mode, the micro controllers clock is turned off because it is generally high frequency and consumes more power. also, the micro controller is powered off except for start-up circuitry that is awakened by a counter connected to a low frequency counter. in this mode of operation, the embedded system can operate on 10's of microamperes, about the same rate as the self discharge rate of the small battery running the system. This assignment will delve into developing the software to poperate the AVR buttefly processors in a very low power mode, waking it up at selected intervals to make temperature measurements and store the data. the major elements of this project will include; interfacing a 4MB non -volatile flash memory, working the registers necessary to setup the low frequency oscillator and a counter, working with registers to set up the low power mode, connected, sounding a short, low beep from the piezo buzzer at some time interval, and the serial command interface.