project for checking status of lights very day 12 :11 am
project for checking status of lights very day 12 :11 am Descripition : Where it help to save the power in big bulidings it will checking the lights states in very room where according your configure desigined where you can send meassage to pariticular floor this room turn off lights thorght bluetooth commonds. project code #include<lpc21xx.h> #include "delayheader.h" #include "lcdheader.h" #include<string.h> void init_rtc(void); void init_rtc() { lcdstring("Digital timer"); CCR=(1<<0); // enable PREINT=456; // crystel oscillator giving 15Mhz, but rtc will work at 32.768khz to scle this we are using formula and geting this number PREFRAC=25024; HOUR=12; ALHOUR=12; ALMIN=10; MIN=11; SEC=0; } int main() { int i; char *password="check"; char recvpass[5]; ...