Post has attachment

http://ev3.fantastic.computer/doxygen/directcommands.html#directcommandexamples


pOUTPUT_START Example

  Start motor connected to port A with speed 20:
        Byte codes:             opOUTPUT_POWER,LC0(0),LC0(0x01),LC0(20), opOUTPUT_START,LC0(0),LC0(0x01)
                                         \    /
                                          \  /
        Hex values send:    0C00xxxx800000A4000114A60001


https://github.com/mindboards/ev3sources/blob/master/lms2012/lms2012/source/bytecodes.h  
opOUTPUT_POWER              = 0xA4, //     00100 
opOUTPUT_START              = 0xA6

#define   LC0(v)                        ((v & PRIMPAR_VALUE) | PRIMPAR_SHORT | PRIMPAR_CONST) 
#define   LC1(v)                        (PRIMPAR_LONG  | PRIMPAR_CONST | PRIMPAR_1_BYTE),(v & 0xFF) 
#define   LC2(v)                        (PRIMPAR_LONG  | PRIMPAR_CONST | PRIMPAR_2_BYTES),(v & 0xFF),((v >> 8) & 0xFF) 
#define   LC4(v)                        (PRIMPAR_LONG  | PRIMPAR_CONST | PRIMPAR_4_BYTES),((ULONG)v & 0xFF),(((ULONG)v >> (ULONG)8) & 0xFF),(((ULONG)v >> (ULONG)16) & 0xFF),(((ULONG)v >> (ULONG)24) & 0xFF) 
#define   LCA(h)                        (PRIMPAR_LONG  | PRIMPAR_CONST | PRIMPAR_1_BYTE | PRIMPAR_ARRAY),(i & 0xFF) 



https://legoev3.codeplex.com/SourceControl/latest#Lego.Ev3.Core/Enums.cs

Post has attachment

Post has attachment
https://legoev3.codeplex.com/
c#  windows (wpf)/ windows 8.1 (winrt)/ windows phone 的程式,
直接控制 ev3 的運作.

Post has attachment
https://ev3messenger.codeplex.com/
用 c# 程式, 透過藍芽跟 ev3 的程式  傳送 跟 接受 訊息
Wait while more posts are being loaded