Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: soft_uart.cpp
- Revision:
- 5:d7980521e9e6
- Parent:
- 0:b8bade04f24f
- Child:
- 6:d10e992a37b1
--- a/soft_uart.cpp Tue Oct 27 22:22:14 2020 +0000 +++ b/soft_uart.cpp Thu Jun 10 20:05:20 2021 +0000 @@ -189,9 +189,9 @@ flag_rx_waiting_for_stop_bit = FALSE; flag_rx_off = FALSE; rx_num_of_bits = 8;//10 - tx_num_of_bits = 8;//10 + tx_num_of_bits = 10;//10 - set_tx_pin_low(); + set_tx_pin_high(); ticker.attach_us(&timer_isr, 1000000.0 / (BAUD_RATE * 3.0)); }