From 2e0754c38e3e757032ee3d87bdc1e685967737a3 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 20 Sep 2022 01:09:07 -0400 Subject: [PATCH] . --- Serial/src/main.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Serial/src/main.cpp b/Serial/src/main.cpp index 773aff4..ea66c9b 100644 --- a/Serial/src/main.cpp +++ b/Serial/src/main.cpp @@ -2,3 +2,16 @@ #include #include + +void InitUSI(void) { + DDRB |= (0 << PB0); //set DI as input + USICR = 0 ; //disable USI + GIFR = 1 <