Is there a Rust alternative to the Arduino library providing the SoftwareSerial type, which allows one to use any two regular pins to do serial communication instead of having to do it through hardware?
Asked
Active
Viewed 233 times
1
-
This maybe? https://docs.rs/bitbang-hal/latest/bitbang_hal/ – harmic Sep 16 '22 at 23:03
-
It looks good, how would I use a baudrate of 9600 with that Timer struct? – weisbrja Sep 16 '22 at 23:13
-
There is an example here: https://github.com/sajattack/bitbang-hal/blob/master/examples/serial.rs – harmic Sep 17 '22 at 02:17
-
I am unable to port that to Arduino, too much of a noob for that. – weisbrja Sep 17 '22 at 09:41