Output on the PC monitor as Notepad

How do I view Arduino output on the PC monitor as Notepad?


what for?

In the bottom section, CTRL-A to select it all, CTRL-C to copy it, then CTRL-V to paste in into Notepad.

I want to view the Arduino output NOT in Serial Monitor but in a text editor like Notepad.

From Arduino to PC monitor.


Keyboard Message for Leonardo

When the button is pressed , a text string is sent to the computer as keyboard input. Once you have the Leonardo programmed and wired up, open up your favourite text editor to see the results.

NB: When you use the Keyboard.print() command, the Arduino takes over your computer’s keyboard!

This is what I want to do.

You got it from here I guess. https://www.arduino.cc/en/Tutorial/KeyboardMessage

Since the Leonardo is emulating a PC keyboard, if you have a writeable (Text Editor) window open, and the focus (cursor) on that window, the text should appear just as if you had typed it on the keyboard yourself.

Thanks and OK