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 ?

Categories

MSDN
Windows Desktop Develo...
SharePoint
Visual Studio Design a...
Visual Studio Team Fou...
Commerce Server
Data Platform Development
DevLabs
Data Platform Developm...
Orchard
Microsoft Research
Archived Forums X-Z
OneDrive Development
Archived Forums
Microsoft Partner Center
Open source Developmen...
Forums Redesign - Q&A ...
Visual C++
Visual Studio Setup an...
Visual Studio Integrate
Visual Studio LightSwi...
Visual Studio Graphics...
Submitting and Publish...
Payouts and Reporting
Development with the W...
SharePoint 2013 - Setu...
SharePoint 2010 - Gene...
Cloud Services (Web an...
Azure Storage
Azure Pack
Azure App Service - We...
Azure Marketplace
Azure Notification Hubs
Azure CDN
Machine Learning
Azure Functions
.NET Framework Class L...
Team Foundation Server...
Visual FoxPro General
Architecture General
Commerce Server 2009
TPL Dataflow
Microsoft Solver Found...
Debugger Canvas
Microsoft Translator D...
Microsoft Translator H...
Visual Basic for Appli...
SyncFx - Microsoft Syn...
Microsoft Robotics - S...
Microsoft Robotics - H...
Microsoft Device Emulator
.NET Compact Framework
Visual Studio Smart De...
SQL Server Reporting S...
SQL Server XML
SQL Server Data Wareho...
Database Design
Standard 2009: Compone...
Standard 7: Misc
Windows Embedded Compa...
SQL Server 2012 Setup ...
SQL Server 2012 Report...
Windows Forms General
CRM
WebsitePanel - Discuss...
Known Issues for Windo...
Project Server General...
Exchange Server Develo...
WCF RIA Services with ...
Surface Application De...
Acropolis
Archived: Software Tes...
Axum Incubation Project
Building Windows Store...
Commerce Server 2002 a...
Game Technologies: Dir...
(Retired) Exchange Pre...
ISV Community Days
MS-Build, Multi-Target...
Multimap API Developme...
Project Codename:  Jasper
Oracle on Azure
POS for .NET
Search Server: Report ...
Silverlight (formerly ...
Small Business Applica...
Software Transactional...
Team Foundation Server...
Using Visual Round Tri...
Visual Studio Team Ser...
Visual Studio 2008 (Pr...
Visual Studio Lab Mana...
Windows Live Data Deve...
Windows XP Wireless SDK
Building Windows Store...
XML in Visual Studio 2...
OneDrive Development (...
Kinect for Windows v1 SDK
.NET Native Preview
Windows Containers

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile