Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

kingpin2k

Member Since 12 Aug 2010
Offline Last Active Dec 03 2015 08:34 PM
-----

#489 Netduino scheduler

Posted by kingpin2k on 15 August 2010 - 07:14 AM

Instead of waiting for 500 ms before you tell your light to turn on schedule it to turn on in 500 ms and then let the scheduler turn it on. What's included: Scheduler class (currently the scheduled tasks are being stored as a linked list, if you wanna see how a linked list works) abilities: schedule Actions to occur within a certain time. schedule actions to occur within a certain time, then reoccur at a certain interval.. If you'd like to create your own Action: 1. Create a new class 2. Implement the Action class. (AKA add ": Action" after your class name in your class file) 3. Add a new value to the ActionTypes enum in the Action class, and make sure to return that in your class (the overridden method GetActionType()) - this is necessary for functionality of finding out whether or not the scheduler contains any of that type of actions currently queued. Here's the alpha release of my scheduler. Lemme know what doesn't work ;)

Attached Files




#486 GPS Sentence Parser with GPS Stream Helper Class(Updated 8-26-2010)

Posted by kingpin2k on 15 August 2010 - 06:58 AM

Currently it will parse GPRMC, GPGSA, GPGSV, GPGLL and GPGGA sentences. There are 6 events you can attach to. One for each sentence type, and one for all types. Currently you need to feed the sentence into the parser. All of my information came from http://www.gpsinform.../dale/nmea.htm. If something doesn't work please let me know. If you have the offending sentence that would be great also.

I finally bought a gps (ebay gps). I got a pre modded gps unit off ebay which was super easy. It was quite a bit cheaper than sparkfun, just a fyi ;)

With the help of my brother we built a GPS Stream object that can be used to connect to the gps object and sit there and monitor the incoming data.

Attached Files

  • Attached File  GPS.zip   31.66KB   1062 downloads



home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.