Hey guys, I'm running a c# program on my computer that takes input from a WiiMote. I have 4 bytes and 13 booleans. Also, I have a few questions that go along with it.
1) What is an efficient way to send these values over serial? Should I use bitwise operations to condense the 13 booleans? It's in c#, so does anyone have a recommendation for this?
2) Obviously dependent on number one, on the mBed side, I'll need to decode the string and once again, I'm going for efficiency. As of right now, I have if statements checking for characters just for testing purposes. Any suggestions on this?
3) With regard to the m3pi, is the WiiMote connected directly to the mBed? That would save me the trouble of having this laptop as a median. I tried searching but couldn't find what I was looking for. Is there a link with information that I'm not seeing? I would *love* to do it that way.
Anything helps guys, thanks a lot!
Hey guys, I'm running a c# program on my computer that takes input from a WiiMote. I have 4 bytes and 13 booleans. Also, I have a few questions that go along with it.
1) What is an efficient way to send these values over serial? Should I use bitwise operations to condense the 13 booleans? It's in c#, so does anyone have a recommendation for this?
2) Obviously dependent on number one, on the mBed side, I'll need to decode the string and once again, I'm going for efficiency. As of right now, I have if statements checking for characters just for testing purposes. Any suggestions on this?
3) With regard to the m3pi, is the WiiMote connected directly to the mBed? That would save me the trouble of having this laptop as a median. I tried searching but couldn't find what I was looking for. Is there a link with information that I'm not seeing? I would *love* to do it that way.
Anything helps guys, thanks a lot!