![]() ![]() TRISC &= ~(1<<4) //konfiguruj wyjscie do sterowania mosfetemĬWG1CON0bits.G1POLB=1 //inwersja na wyjsciuĬWG1CON1bits.G1ASDLB=2 //zero w auto shot downĬWG1CON1bits.G1IS=2 //na wejsciu jest PWMĬWG1CON2bits.G1ARSEN=1 //auto restart enabledĮnergy consumption in my parents house is about 300 kWh per month. _CONFIG(FOSC_INTOSC & WDTE_OFF & PWRTE_ON & MCLRE_ON & CP_OFF) ĬM1CON1bits.C1PCH=2 //positive input to FVR (1.024V)ĬM1CON1bits.C1NCH=3 //ngative input to C2IN3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |