Need help getting code to contuinusly turn a led on & off for set times while...

Hi,

Need help getting code to contuinusly turn a LED on & off for set times while taking temprature readings.

Basically i need to turn a LED on for 12 hours and then off for 12 hours continuesly. While it also continusly takes a temprature reading. I know i cannot use a delay to do this so i was wondering if someone could write me a bit of sample code. Does not have to take temp reading or anything, just needs to show me how how this is possible.

Thanks a million to anyone that can help!

Chris

The blink without delay example does what you need. All you need do is increase the size of the interval variable.