Add timer interrupt + PWM work

This commit is contained in:
Pratik
2026-04-06 21:25:29 +10:00
parent 4012404504
commit 36d8dbb881
10 changed files with 143 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ Controls how external interrupts trigger.
# Interrupt Trigger Modes (INT0)
## 1. Low Level (00)
## 1. Low Level (00) //holding button
EICRA &= ~((1 << ISC01) | (1 << ISC00));
@@ -67,7 +67,7 @@ Bit calculation:
---
## 2. Any Logical Change (01)
## 2. Any Logical Change (01)
EICRA &= ~(1 << ISC01);
EICRA |= (1 << ISC00);