-
-
Notifications
You must be signed in to change notification settings - Fork 114
/
Copy pathPcf8575.cs
29 lines (27 loc) · 1.1 KB
/
Pcf8575.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Device.Gpio;
using System.Device.I2c;
namespace Iot.Device.Pcx857x
{
/// <summary>
/// Remote 16-bit I/O expander for I2C-bus with interrupt.
/// </summary>
public class Pcf8575 : Pcx8575
{
/// <summary>
/// /// Initializes a new instance of the Pcf8575 device.
/// </summary>
/// <param name="device">The I2C device.</param>
/// <param name="interrupt">The interrupt pin number, if present.</param>
/// <param name="gpioController">
/// The GPIO controller for the <paramref name="interrupt"/>.
/// If not specified, the default controller will be used.
/// </param>
/// <param name="shouldDispose">True to dispose the Gpio Controller</param>
public Pcf8575(I2cDevice device, int interrupt = -1, GpioController gpioController = null, bool shouldDispose = true)
: base(device, interrupt, gpioController, shouldDispose)
{
}
}
}