In other posts you may find examples of codes on how to set up the RTC and how to read the current time ..
Once you have the time you may add code that generates PWM ..
hi,
anybody gimme a code for generating a pulse with different widths at different times....................
plz, i need this very urgently.i have connected a zero crossing detector to int1 pin.
i wil be waiting for ur reply...
what the program basically does is;it increases the 'on time' from zero to 100% and then decreases it from 100% to 0;to check the working,connect an led to the output pin and you can see it become dull and bright again and it loops infinitely.
thanks a lot.....
but i require time as reference....
that is it must be 100% dutycycle at 6o clock,90 % at 7o clock.....ans so on....
kind gimme a code for this