Windows IoT
The accuracy of measuring a plus width by using GPIO event and stopwatch
Hi there, I am coding an application for IR remote on Windows 10 IOT. but the Td (Time duration between current rising edge and previous rising edge) is not so stable. the Td I got from my TV remote are some within the correct number and some are not. sometime I get Td<0.56mS and Td > 15mS Do I missing something here? my code: IR_RX.ValueChanged += irrx_ValueChanged; private void irrx_ValueChanged(GpioPin sender, GpioPinValueChangedEventArgs e) { if (e.Edge == GpioPinEdge.RisingEdge) { //Rising Edge Detected td = swatch.Elapsed.TotalMilliseconds; swatch.Restart(); } }
Hi Serron, Thank you for posting here. According to your question is more related to windows IoT, I will move it to Windows IoT forum for suitable support. The Visual C# discuss and ask the C# programming language, IDE, libraries, samples and tools. If you have some grammar or code errors, please feel free to contact us. We will try our best to give you a solution. Thanks for your understanding and cooperation. Best Regards, WendyMSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF#microsoft.com.
Windows IoT Core is no RTOS but you could try to work with Lightning direct memory mapped driver (DMAP) if your board supports it more information available on http://docs.microsoft.com -> Windows -> IoT/Docs -> Working with Hardware
Related Links
Anyone using BME280?
Webinterface for App
Rebuild image for downloading to flash card
First time setup: Cannot remote in to Raspberry Pi 3 box. Using Powershell (Admin)
UWP support for AMQP?
Dial-up over COM port support?
Windows 10 IoT Core API Porting Tool
Windows 10 IoT Core Installation Not Detecting eMMC
Can an app be signaled when the OS is upgrading?
Intel RealSense SDK on WIndows IoT Core
Text to speech audio clicking problem
Force boot to EFI
Stuck on the Rainbow Screen
Setting display resolution on Raspberry Pi 2 running Windows 10 IoT Preview
How to set the Background Process priority at Windows IOT startup
Windows.Devices.Gpio.GpioInterruptBuffer ?