- Paul Newton likes this
- Netduino Forums
- → Viewing Profile: Likes: aalmada
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.
About Me
Programmed in C++ for many years but since I tried .NET, in it's 1.0 BETA, never returned...
I've been curious about DIY electronics and bought an Arduino. My passion for .NET made me recently buy a Netduino.
I'm going to need a lot of help with electronics but I hope I can retribute to the Netduino community with my programming experience.
Community Stats
- Group Members
- Active Posts 44
- Profile Views 13315
- Member Title Advanced Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
Portugal
#27883 Nunchuck controlled Bionicle
Posted by aalmada on 22 April 2012 - 02:06 PM
Here is a video of a little project I implemented last weekend with my kids.
#27842 BitConverter
Posted by aalmada on 21 April 2012 - 07:21 PM
I've created a complete BitConverter for NETMF: https://bitbucket.or...BitConverter.cs
It's based on the Utility class as suggested here by Luke but still uses "unsafe" to deal with floats and doubles.
I looked into alternatives to the "unsafe", as it's not officially supported, but only found dead ends:
1) [StructLayout(LayoutKind.Explicit)] is supported but [FieldOffset(0)] is not.
2) TypedReference struct is supported but the FieldInfo.SetValueDirect method is not.
aalmada
- Rhynier Myburgh and sgraves like this
- Netduino Forums
- → Viewing Profile: Likes: aalmada
- Privacy Policy