The answer is yes, to both questions.
Thank you.
  | ||||||||||||||
High resolution light measurement
Started by monewwq1, Sep 17 2011 02:50 PM
62 replies to this topic
#61Posted 20 September 2011 - 02:19 PM
Thank you. #62Posted 20 September 2011 - 03:32 PM To echo CW2, yes, absolutely. The microcontroller on Netduino has plenty of horsepower. But this is probably best changed to a "native code hacking on Netduino" thread...where those of us who write some C++ can pitch in on ways to accomplish this. [One of those ways, which I mentioned a bit earlier, is to make that pin an FIQ-accelerated pin...and then use an FIQ handler in your code to count the number of pulses. Then you can easily create a "startcount" and "StopAndGetCount" managed code method to capture the values. FIQs will activate in less than one microsecond, will supercede the .NET MF runtime and...as long as they're quick...will not interfere with your code. We're using them for software PWM in an future update of the firmware, for instance. Chris P.S. This is a really friendly place. I don't think that folks were trying to tell you that you couldn't do what you were trying to do...but rather that it's possible to do what you want to do using native code...but very simple to do in managed code with another really inexpensive component. Hopefully you still feel welcome here; we appreciate a variety of people here! #63Posted 20 September 2011 - 03:41 PM ...1000% agree...
Biggest fault of Netduino? It runs by electricity.
0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||