- Netduino Forums
- → Baqs's Content
Baqs's Content
There have been 5 items by Baqs (Search limited from 28-April 23)
#39337 New to this : Trouble with AnalogInput with Firmware v4.2.0.1
Posted by Baqs on 14 November 2012 - 02:08 PM in Netduino 2 (and Netduino 1)
#38834 Netduino Plus locks when using pointers
Posted by Baqs on 09 November 2012 - 10:50 AM in Netduino Plus 2 (and Netduino Plus 1)
#38830 Netduino Plus locks when using pointers
Posted by Baqs on 09 November 2012 - 10:12 AM in Netduino Plus 2 (and Netduino Plus 1)
public static void Main() { float testNumber = 5.25f; byte[] numberBytes = GetBytes(testNumber); for (int count = 0; count < numberBytes.Length; count++) { Debug.Print("Byte[" + count + "]=" + numberBytes[count]); } } public static unsafe byte[] GetBytes(float value) { byte* pointerToFirstByte = (byte*)&value; byte[] resultBytes = new byte[4] { *pointerToFirstByte, *(pointerToFirstByte + 1), *(pointerToFirstByte + 2), *(pointerToFirstByte + 3) }; return resultBytes; }
the Netduino ends up locked and I have to erase it with MFDeploy. Is there any way to use pointers in the Netduino Plus?
#38812 VS hanging at "Preparing to deploy assemblies to the device"
Posted by Baqs on 09 November 2012 - 03:27 AM in Netduino Plus 2 (and Netduino Plus 1)
#38811 Network to Host order
Posted by Baqs on 09 November 2012 - 03:17 AM in Netduino Plus 2 (and Netduino Plus 1)
- Netduino Forums
- → Baqs's Content
- Privacy Policy