Pinguino as a remote controller for your Linux machine

Yeison is one of the contributor of Pinguino IDE. He’s the one who wrote most of the Python code in the X.3 version. His new deal is to use Pinguino as a remote controller for a Linux machine. Using this python code you can send a shell command with the CDC module and execute it on your computer. We can imagine an IR receiver connected to Pinguino and use a TV remote controller to drive your computer.

First of all, you need to change permissions on the serial port used:
sudo chmod a+rw /dev/ttyACM0

then execute the python code ( download it on Yeison website )

In the Pinguino board, this is a simple example to open the terminal and take a screenshot:

void setup() {
    }
 
void loop() {
    //Open terminal
    CDC.println("shell: gnome-terminal");
    delay(1000);
     
    //Take a screenshot
    CDC.println("shell: gnome-screenshot");
    delay(1000);
    }

Follow Yeison blog to learn more about Pinguino ( in spanish ).