Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 693 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 693 Bytes

GpioSampler

Application to sample and visualize protocols on the GPIO interface

image

Usage

Build the project and deploy the application to a server with a GPIO sysfs.

Edit the appsettings.json and specify the lines to debug, the interval to sample, and the duration.

{
  "Sampler": {
    "Duration": "00:00:03.000",
    "Interval": "00:00:00.020",
    "Lines": [
      {
        "Label": "DATA",
        "FilePath": "/sys/class/gpio/gpio102/value"
      },
      {
        "Label": "CLOCK",
        "FilePath": "/sys/class/gpio/gpio101/value"
      }
    ]
  }
}