I am trying to utilize the ESP32 High resolution timer in Nanoframework, but it seems the code always throws a nullReference exception when executed.
Here is how I initialize the timer:
Following are the versions of nuget packages I am using:
Whenever the code is run, the code throws exception when we subscribe to the TimerExpired event:
Any help on what could be causing this would be greatly appreciated.
I have tried this with latest nanoFramework version and can not reproduce the problem. Please supply complete test program and indicate the type of ESP32 board you are running on.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.