Hi :)
I have the following problem. I have PB08 and PB09 configured to act as a serial port (SerialD). This works also quite well. But for my application I need to set PB08 to LOW for a few seconds every now and then. digitalWrite doesn't seem to work when the pin is configured as serial port. I tried to use SerialD.write and send a null byte. But then there is the start and stop bit which is HIGH and interrupts the LOW signal.
Is there any way to set the TX pin of the serial port to LOW for some seconds and get the function after that?
Thanks for your help! :)
Pins as Serial port and "digital output" possible? (Itsy Bitsy M0)
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- Mandel
- Posts: 11
- Joined: Wed Oct 26, 2022 10:25 am
- Mandel
- Posts: 11
- Joined: Wed Oct 26, 2022 10:25 am
Re: Pins as Serial port and "digital output" possible? (Itsy Bitsy M0)
Is it possible to use registers to directly access the pin functions while they are configured as serial ports?
Please be positive and constructive with your questions and comments.