You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: samples/Gpio/GpioChangeCounter/README.md
+3-11
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
# GPIOChangeCounter sample
2
2
3
-
Shows how to use the [Windows.Devices.Gpio]((http://docs.nanoframework.net/api/Windows.Devices.Gpio.html) GpioChangeCounter API to count pulses from a device.
4
-
3
+
Shows how to use the [Windows.Devices.Gpio](http://docs.nanoframework.net/api/Windows.Devices.Gpio.html)[GpioChangeCounter API](http://docs.nanoframework.net/api/Windows.Devices.Gpio.GpioChangeCounter.html) to count pulses from a device.
5
4
6
5
> **Note:** This sample is part of a large collection of nanoFramework feature samples.
7
6
> If you are unfamiliar with Git and GitHub, you can download the entire collection as a
@@ -11,29 +10,22 @@ Shows how to use the [Windows.Devices.Gpio]((http://docs.nanoframework.net/api/W
11
10
> the samples collection, and GitHub, see [Get the UWP samples from GitHub](https://aka.ms/ovu2uq).
12
11
> For more samples, see the [Samples portal](https://aka.ms/winsamples) on the Windows Dev Center. -->
13
12
14
-
15
-
Shows how to use the [Windows.Devices.Gpio]() GpioChangeCounter API to:
13
+
Shows how to use the [Windows.Devices.Gpio](http://docs.nanoframework.net/api/Windows.Devices.Gpio.html)[GpioChangeCounter API](http://docs.nanoframework.net/api/Windows.Devices.Gpio.GpioChangeCounter.html) to:
16
14
* Count rising, failing and both edges of a pulse on a GPIO pins
17
15
* Read the count and the relative time of count
18
16
* Reset the count
19
17
* Start / Stop count
20
18
21
-
22
19
## Hardware requirements
23
20
24
21
Any hardware device running a nanoFramework image built with GPIO support enabled.
25
22
The sample uses a PWM signal to generate the pulses so requires the PWM pin to be connected to the Counter pin.
0 commit comments