Can I Use a Single Pin as Both Rx and Tx on an ATtiny85 for Software Serial?
Related question: I'll likely use an ATtiny85 for this project, meaning limited IO pins (WIP schematic pictured). I'll mostly be listening for signals with a software serial Rx pin, but would be nice to be able to use Tx periodically.
Is is possible to refine a single pin to use it as both Rx and Tx (though not at the same time)? Per some previous Arduino code - https://github.com/JeremySCook/arduino-experiments/blob/main/MIDI/1-inch-MIDI/2-inch-midi.ino
Is is possible to refine a single pin to use it as both Rx and Tx (though not at the same time)? Per some previous Arduino code - https://github.com/JeremySCook/arduino-experiments/blob/main/MIDI/1-inch-MIDI/2-inch-midi.ino
- I was able to set the Rx as the reset pin, which doesn't really function the way I set things up, so maybe it's possible. OTOH, SoftwareSerial is defined there outside of the setup function there, so I'm not sure if you can change this dynamically.

GitHub
Experiments in Arduino C. Contribute to JeremySCook/arduino-experiments development by creating an account on GitHub.






