Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <SoftwareSerial.h>
- SoftwareSerial atari_rxtx(7, 8);
- void setup() {
- Serial.begin(9600);
- atari_rxtx.begin(7812.5);
- Serial.println("Welcome! We're now waiting for the Atari input!\n-----------------------------------------------\n");
- }
- void loop() {
- if (atari_rxtx.available() > 0) {
- Serial.println(atari_rxtx.read());
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement