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.

H07R0D

Member Since 27 Mar 2011
Offline Last Active Jun 14 2015 07:31 AM
-----

#43164 Trying to use string.Contains

Posted by H07R0D on 11 January 2013 - 03:41 PM

You can always extend the String class (.netmf 4.2 makes this much easier)

 

public static bool Contains(this String _src, char _search){	for (int i = _src.Length-1; i >= 0; --i)	{		if (_src.IndexOf(_search) >= 0) { return true; }	}	return false;}



#38755 Introducing Netduino Plus 2

Posted by H07R0D on 08 November 2012 - 04:30 PM

Proto-advantage have already listed them
http://www.proto-adv...uino_plus_2.php


Shipping to Canada for $2.50......Done and Done!


#26047 XML Reader Whoas

Posted by H07R0D on 28 March 2012 - 02:25 PM

My understanding is it's not an issue of the size of the XML file, it's the size of the XMLReader object. It's just too big to fit in the space available.

I've taken to using JSON for all my config data instead of XML, as it's a lot smaller, and I've got a full parser you can grab here
I should mention that the code is written for the 4.2 Framework, so if you're not running the 4.2 firmware, that code won't compile for you.


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.