Skip to content

Commit

Permalink
Improve documentation add valid test result.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklik committed Feb 8, 2024
1 parent 7887849 commit ec686e5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Binary file added doc/img/test_passed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions sw/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,24 @@ cd pymlab_interactive
python3 quality_check.py --port 9 --address 0x50 --req_freq 489 --max_deviation 10
```

## Prerequirements
## Prerequirements
* python3
* [pymlab](https://github.com/MLAB-project/pymlab) with installed I2C drivers e.g. smbus2
* [beepy](https://pypi.org/project/beepy/)
* curses
* argparse
* argparse


## Usage:
## Usage:

```
python3 quality_check.py --port 7 --address 0x50 --req_freq 1000 --max_deviation 500
```

`--port` smbus port
`--port` smbus port
`--address` I2C address of TFRPM counter
`--req_freq`
`--req_freq`
`--max_deviation`

## Screenshots
![obrazek](https://github.com/ThunderFly-aerospace/TFRPM01/assets/5196729/f1046602-cf83-4bb0-9f1a-cd9a75cdab36)

![Valid test](/doc/img/test_passed.png)

0 comments on commit ec686e5

Please sign in to comment.