i still don't understand why MPlab don't commit this shit !

This commit is contained in:
2023-03-10 16:06:17 +01:00
parent 9b271afdb2
commit 2c949062dc
10 changed files with 137 additions and 62 deletions

View File

@@ -90,8 +90,8 @@ void TMR0_Initialize(void)
// Set Default Interrupt Handler
TMR0_SetInterruptHandler(TMR0_DefaultInterruptHandler);
// T0PS 1:2; T08BIT 16-bit; T0SE Increment_hi_lo; T0CS FOSC/4; TMR0ON enabled; PSA not_assigned;
T0CON = 0x98;
// T0PS 1:2; T08BIT 16-bit; T0SE Increment_hi_lo; T0CS FOSC/4; TMR0ON disabled; PSA not_assigned;
T0CON = 0x18;
}
void TMR0_StartTimer(void)