- Thu Dec 11, 2014 8:16 am
#4556
gerardwr wrote:zeroday wrote:Change log:
2014-12-11
1, fix uart.setup(), now setup can set pins in other mode back to uart mode.
Sorry, but I do not understand what the change is, not even after looking at the updated documentation.
At 1st I thought that there was a way to re-purpose the RX/TX lines as GPIO, and now setting this back to uart was the change. Apparently it is not.
What is it, please?
gpio1 and gpio3 are rx/tx. the default function of these 2pins is uart.
gpio module can use these 2 pins as general io pins, gpio.mode(..)
the issue is, when these pins set as gpio. it works as gpio.
but if you want to set these pins again in uart mode(uart.setup). it failed.
it stays in gpio mode (rx pin). issue 18