Skip to content

Commit 6a777f3

Browse files
committed
update
1 parent ab73132 commit 6a777f3

File tree

6 files changed

+32
-2
lines changed

6 files changed

+32
-2
lines changed

README.md

+32-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,41 @@
22

33
> dotnet version: 5.0.103
44
5+
##download
6+
57
You can download the `.dll` at [Release](https://github.com/elephantrobotics/Mycobot.csharp/releases)
68

7-
And import it to you Project.
9+
###**notice:**<br>
10+
if you project **target frame** is **.net core**,download **net core/Mycobot.csharp.dll**,if is **.net framework**,download **net framework/Mycobot.csharp.dll**)
11+
12+
###how to check target frame
13+
14+
![pic](res/frame.gif)
15+
16+
##use
17+
18+
###import
19+
20+
1、import **Mycobot.csharp.dll** to you Project.<br>
21+
2、add system.io.ports to ***.csproj(*** is your project name,this file is in your project directory),like this:<br>
22+
**frame: .net core**<br>
23+
![pic](res/port_1.jpg)<br>
24+
**frame: .net framework**<br>
25+
![pic](res/port_2.jpg)
26+
27+
28+
###problem
29+
30+
when use you will have some prolem:<br>
31+
1、probelm: System.Runtime, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies...<br>
32+
solve:update your sdk(if .net core,update to **5.0** and choose,if .net framework update to **4.0** and choose **4.7.2**),like this:<br>
33+
![pic](res/update.gif)
34+
<br>
35+
2、probelm:System.IO.FileNotFoundException:“Could not load file or assembly 'System.IO.Ports, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. <br>
36+
solve:look use-->2
37+
838

9-
```c#
39+
###API
1040
/// arm power on
1141
public void PowerOn()
1242

res/frame.gif

630 KB
Loading

res/frame_2.png

20.7 KB
Loading

res/port_1.jpg

24.3 KB
Loading

res/port_2.jpg

64.2 KB
Loading

res/update.gif

402 KB
Loading

0 commit comments

Comments
 (0)