Now the keyboard is connected, let's figure out how to accept commands on the BeagleBone Black.
You can now enter commands wirelessly. The next step is to create a program that can take these commands and then have your project execute them. There are a couple of choices here and I'll give you examples of both. The first is simply to include the command interface in your program. Let's take the example of the program you wrote to move your wheeled robot,
robot.py. If you like you can copy that program using
cp robot.py remote.py. The following screenshot shows a listing of the current program in the area you want to change:
In order to add user control, you need two new ...