Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Chapter08_Hardware-Interrupts/capSense/capSense.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ ISR(PCINT1_vect) {

int main(void) {
// -------- Inits --------- //
clock_prescale_set(clock_div_1); /* full speed */

/* full speed, hint: F_CPU must be 8000000UL */
clock_prescale_set(clock_div_1);
initUSART();
printString("==[ Cap Sensor ]==\r\n\r\n");

Expand Down