We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# Library for Microchip Capacitive Touch devices in the Cap1xxx family.
using IotFrosting const int alert_pin = 25; using (var dh = await Cap1xxx.Open(alert_pin) ) { }
Unlink the LEDs from the inputs, so the Cap1xxxx chip does not manage autolights itself.
dh.AutoLights = false;
Turn on a particular LED
dh.Leds[0].State = true;
You can check the state of any particular input
bool pressed = dh.Input[0].State;
Each input raises an Updated event when its state changes
dh.Input[7].Updated += (s,e) => Debug.WriteLine($"Button {e.Id} {e.State}");
https://github.com/pimoroni/cap1xxx http://ww1.microchip.com/downloads/en/DeviceDoc/00001620C.pdf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
C# Library for Microchip Capacitive Touch devices in the Cap1xxx family.
Function Reference
Unlink the LEDs from the inputs, so the Cap1xxxx chip does not manage autolights itself.
Turn on a particular LED
You can check the state of any particular input
Each input raises an Updated event when its state changes
See
https://github.com/pimoroni/cap1xxx
http://ww1.microchip.com/downloads/en/DeviceDoc/00001620C.pdf
The text was updated successfully, but these errors were encountered: