Skip to content

Commit

Permalink
Merge pull request #32 from anarkiwi/serialinit
Browse files Browse the repository at this point in the history
need serial init.
  • Loading branch information
anarkiwi committed Jun 30, 2022
2 parents dddbb65 + 914bce7 commit e6e93bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ inline byte uartRead() {

inline void initPlatform() {
// see SERCOM::initUART()
Serial1.begin(31250);
SERCOM0->USART.INTENCLR.reg = SERCOM_USART_INTENSET_RXC | SERCOM_USART_INTENSET_ERROR;
}

Expand Down

0 comments on commit e6e93bd

Please sign in to comment.