CHAPTER 10USB Projects with the Leonardo
THE ARDUINO LEONARDO DIFFERS from the more conventional Arduino in a number of ways. It is a little cheaper and has a different microcontroller chip. It is the use of this chip that allows the Leonardo to impersonate a USB keyboard, which is the basis for the projects described in this chapter.
Project 31Keyboard Prank
If you are familiar with the 1999 movie, The Matrix—and what Evil Genius isn’t?—you will remember the scene where the hero, Neo, is in his room, and messages start to appear on his computer screen.
This project uses an Arduino Leonardo secretly attached to the USB port of someone’s computer to start sending those messages after a random delay (Figure 10-1).
Figure 10-1 The keyboard prank ...