Arduino

How To Connect 74HC595 Shift Register In Series and Control Multiple Pins Using Arduino

Learn how to connect multiple shift registers in-series, particularly the 74HC595 chip. This method allows us to expand the number of pins we can control from a microcontroller. Also, we develop a library to make easier to control the individual pins of the shift registers.

Read More
Design Patterns

Design Patterns – Interpreter

The Interpreter Design Pattern guides us in constructing a hierarchy of expressions capable of evaluating sequences of symbols. This pattern is commonly used for evaluating expressions, statements, or entire languages. It can be applied to a wide range of applications that involve analyzing sequences of symbols, whether they are words, sentences, or any other type, and make sense of them.

Read More
Arduino

Use 74HC595 Shift Register With Arduino

Explore the use of the 74HC595 Shift Register with an Arduino to control 8 LEDs. This demonstration illustrates how we can expand the number of available Arduino pins, allowing us to manage components that require multiple inputs.

Read More
Design Patterns

Design Patterns – Chain of Responsibility

Learn the Chain of Responsibility Pattern and how to use it. Decouple requests from handlers and build robust and flexible software.

Read More
Arduino

Learn How an 8×8 LED Display Works and How to Control it Using an Arduino

Explore how an 8×8 LED Matrix Display works and how you can create software to display icons and simple animations using an Arduino.

Read More

This article provides a comprehensive guide on implementing Named Pipes for Interprocess Communication (IPC) using the PipeStream class in the System.IO.Pipes namespace. It covers the implementation of the IServer and IClient interfaces. The article includes sample code snippets for creating a core component that handles common functionalities for both NamedPipeClient and NamedPipeServer, reading and writing to a PipeStream, implementing the NamedPipeServer class, and disposing of the named pipe server stream. If you’re interested in using Named Pipes for IPC, this article will guide you through the implementation process.

In this article, we’ll delve into Interprocess Communication (IPC) techniques, such as Named Pipes, Files, Shared Memory, Message Queues, Sockets, and Remote Procedure Calls (RPC). We’ll explore their implementation using a core IPC communication system and create an IPCConnection interface that sends and receives messages and is non-blocking and fully asynchronous.