rocketscream / Low-Power

Low Power Library for Arduino
www.rocketscream.com
1.26k stars 345 forks source link

Disable Uart, lib shows error #93

Closed maxholgasson closed 4 years ago

maxholgasson commented 4 years ago

Hi,

tried to shut down the uart when sleeping forever as there is some feed back of current trough the TX pin of the 328P

Is there a chance to switch off the UART0_OFF?

rocketscream commented 4 years ago

Serial.end() should do the trick. If it still doesn't work, manually configure the pin state (depends on how the other end device behaves when in low power).