Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Adafruit Logo
0

RasPipe: A Raspberry Pi Pipeline Viewer, Part 2

Image for user bpb
published March 26, 2015, last edited March 08, 2024
Save Link Note Download
22
Beginner
Skill guide

Overview

Previously, inRasPipe: A Raspberry Pi Pipeline Viewer, Part 1, we explored writing a visualization of standard streams using Python and the Pygame library to render simple graphics on a PiTFT.

Next, we'll talk about making that visualizer (or other code) available over the network, so that you can easily send it traffic from other computers, including Linux, Windows, OS X, and mobile devices.

We'll use a grab bag of tools to accomplish this:

  • netcat - a command-line utility for easily pushing traffic around a network.
  • Node.js - a fast, capable server-side JavaScript implementation with a bunch of useful library code available.
  • Flask - a fast and easy Python web application framework.

By the end of this guide, you should be equipped with a useful toolkit for bridging the gaps between networked machines for all sorts of projects.

Before we get started, make sure you have a copy of the Adafruit-RasPipe repository which contains all the code samples for this guide. You can update an existing copy from your terminal like so:

cd Adafruit-RasPipegit pull
cd Adafruit-RasPipegit pull

...or get a fresh one like so:

git clone https://github.com/adafruit/Adafruit-RasPipe.gitcd Adafruit-RasPipe
git clone https://github.com/adafruit/Adafruit-RasPipe.gitcd Adafruit-RasPipe

Page last edited March 19, 2015

Text editor powered bytinymce.

Related Guides
intermediate
Search

Search

Categories

[8]ページ先頭

©2009-2025 Movatter.jp