Skip to content

Commit f181ba0

Browse files
authored
Update README.md
1 parent 92509f5 commit f181ba0

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

Software/README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,23 @@ i2c-dev<br/>
2424
You can now test the PCB with the following line:
2525
python3 i2ctest.py
2626

27-
The script will display
27+
The script will display ten lines per second like: 0 0 0 [1, 16, 191, 0, 127, 0, 1, 0, 0, 1, 209]
28+
where data are :
29+
- counter of i2c read exception :should stay at 0
30+
- counter of i2c slave busy info : can increase slowly
31+
- counter of i2c frame error (first byte not equal to 1, second to 0x10 (version error), or checksum) : should stay at 0
32+
- 11 byte array :
33+
- 1 (frame is OK)
34+
- 16 (frame protocol version 0x10)
35+
- buffer update counter : incremented every 100 ms
36+
- high byte of Vacc value (unit: tenth of volt)
37+
- low byte of Vacc value (unit: tenth of volt)
38+
- timer used to validate change of Vacc_Status (unit : 100ms)
39+
- Vacc_Status
40+
- high byte of shutting down timer (unit: 1s)
41+
- low byte of shutting down timer (unit : 1s)
42+
- Power Status : 1=ON, 2=shutdown requested
43+
- chksum (XOR of above bytes)
2844

2945
<h2>Setup of the service</h2>
3046
You need to copy following files :

0 commit comments

Comments
 (0)