Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SFeli committed Jul 17, 2020
1 parent 4b54dc5 commit 114d30f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ There is no standard library aviable now - since the functionality / documentati
# The flow is very simple:
Send a request like {0xFE, 0X04, 0X00, 0X03, 0X00, 0X01, 0XD5, 0XC5} and
wait for the response like {0xFE, 0X04, 0X02, 0X03, 0X88, 0XD5, 0XC5}.
Where byte
Where:
| byte | example | description |
|-----|---------|----------------------------------------------------------------------|
| 0 | FE | any Address
| 1 | 04 | function code (03 read hold reg / 04 read inp. register / 06 write)
| 2,3 | 00 03 | starting Address
| 4,5 | 00 01 | lenght of requested register
| 6,7 | D5 C5 | CRC low / high
| 0 | 0xFE | any Address
| 1 | 0x04 | function code (03 read hold reg / 04 read inp. register / 06 write)
| 2, 3 | 0x00 0x03 | starting Address
| 4, 5 | 0x00 0x01 | lenght of requested register
| 6, 7 | 0xD5 0xC5 | CRC low / high

0 comments on commit 114d30f

Please sign in to comment.