- Netduino Forums
- → Viewing Profile: Posts: CarTech
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.
Community Stats
- Group Members
- Active Posts 9
- Profile Views 6103
- Member Title New Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
0
Neutral
User Tools
Friends
CarTech hasn't added any friends yet.
Posts I've Made
In Topic: SD Card Issues.
14 April 2012 - 03:41 PM
I'm using 4.2 RC4 and I can't get the sparkfun 1GB card to work. I have the netduino firmware loaded onto a netduino plus. A 2GB sandisk card works perfectly. With the sparkfun card, I can't get it to mount (doesn't return "\SD" when I search for directories on "\").
Any suggestions for what I should try?
In Topic: Reference for System.Uri?
29 November 2011 - 05:19 PM
I figured out the missing reference was System.HTTP
In Topic: Reference for System.Uri?
29 November 2011 - 05:00 PM
Hello.
Don’t think that system.Uri exist in Micro .net framework.
http://msdn.microsof...y/cc533014.aspx
I have 4.1, which shows it in the API reference:
http://msdn.microsof...y/ee436970.aspx
Any other ideas?
In Topic: Timer only executes five times?
25 October 2011 - 07:08 PM
Thanks for all the help!
For reference, I declared the timer as a field in the class (instead of local variable) and it works perfectly. Here's the updated code:
EDIT: fixed error in code copy paste
For reference, I declared the timer as a field in the class (instead of local variable) and it works perfectly. Here's the updated code:
EDIT: fixed error in code copy paste
using System; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoPlus; namespace Testing9DOF { public class BufferFileManager { // Declare timer private static Timer timer; // Constructor public BufferFileManager() { Debug.Print("Created a new BufferFileMananger instance"); } // Public methods public void StartDAQ() { // Start up sensor class ADXL345 myAccel = new ADXL345(); myAccel.CheckConnection(); myAccel.FullResolution = true; myAccel.EnableMeasurements(); myAccel.SetDataRate(0x08); // Start collecting data to file timer = new Timer(delegate(object o) { myAccel.ReadAllAxes(); string data = myAccel.ScaledXAxisG + "\t" + myAccel.ScaledYAxisG + "\t" + myAccel.ScaledZAxisG; Debug.Print(data); }, null, 0, 80); } } public class Program { public static void Main() { BufferFileManager fm = new BufferFileManager(); fm.StartDAQ(); Thread.Sleep(Timeout.Infinite); } } }
In Topic: Netduino - WiFi
14 October 2011 - 01:16 AM
Hi, unfortunately I have not used the built-in http features of the Gainspan. For my Gainspan projects I rolled my own http communications.
I figured out the problem was I left out the command which sets the data length, fifth line below. Here is the working code snippet:
at+httpconf=20,Mozilla/4.0\r at+httpconf=3,keep-alive\r at+httpconf=11,enginuitydiagnostics.com\r at+httpconf=7,application/x-www-form-urlencoded\r at+httpconf=5,23\r at+httpopen=<myhostip>\r at+httpsend=0,3,10,/test_post.php,23\r\x1BHname=myName&info=myInfo
- Netduino Forums
- → Viewing Profile: Posts: CarTech
- Privacy Policy