Commit 14ff91c9 authored by reza's avatar reza

Update README.md

parent 7668dcad
......@@ -14,7 +14,7 @@ This dll requires the following packages to work with.
### Prerequisites
Use [Python for .NET](http://pythonnet.github.io/) to instll 'clr' package for connect dll to python.
Use [Python for .NET](http://pythonnet.github.io/) to install "clr" package for connect dll to python.
### Import dll file
......@@ -34,33 +34,26 @@ myAwsomeHolyShitImDyingForThisDevice = Device()
```
## How to Use
First of all, you should plug your device into your PC, and also install `ST micro COM Port Package` from `Device Manager` (it should be installed itself if your connected to internet).
First of all, you should plug your device into your PC, and also install `ST micro COM Port Package` from `Device Manager` (it should be installed itself whenever you be connected to the internet).
After that type in the `Connect` method
```
myAwsomeHolyShitImDyingForThisDevice.Connect()
```
This methode also return a boolian "True/False" to indicate whether the device is successfully connected to the PC or not.
If device is successfully connected to the PC, you can use the following methods and properties to retrieve Device information, or send a command/ recieve data to/from the device:
```
# Info
myAwsomeHolyShitImDyingForThisDevice.name
myAwsomeHolyShitImDyingForThisDevice.channelsnumber
myAwsomeHolyShitImDyingForThisDevice.info
myAwsomeHolyShitImDyingForThisDevice.ReadStatus()
myAwsomeHolyShitImDyingForThisDevice.getInfo()
myAwsomeHolyShitImDyingForThisDevice.getStatus()
# get data
myAwsomeHolyShitImDyingForThisDevice.Start()
myAwsomeHolyShitImDyingForThisDevice.GetData()
myAwsomeHolyShitImDyingForThisDevice.Stop()
myAwsomeHolyShitImDyingForThisDevice.Leadoff()
# write setting
myAwsomeHolyShitImDyingForThisDevice.Set()
myAwsomeHolyShitImDyingForThisDevice.start()
myAwsomeHolyShitImDyingForThisDevice.stop()
myAwsomeHolyShitImDyingForThisDevice.getData()
```
## Built With
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment