Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ElluIFX committed Dec 11, 2024
2 parents 2c8e1ad + 89dcea9 commit 449c715
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mdp_controller/mdp_p906.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def register_realtime_value_callback(self, callback: Callable[[list], None]):
Register a callback function to handle the realtime values of output in async mode.
Args:
callback (Callable[[list], None]): A function that takes a list of (voltage in mV, current in mA) as input.
callback (Callable[[list], None]): A function that takes a list of (voltage in V, current in A) as input.
Note:
The callback will be called in a separate thread. get_realtime_value() will also trigger the callback like request_realtime_value(), but in blocking mode.
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Miniware MDP-P906 数控电源上位机

**[English Version](./readme_EN.md)**
## **[English Version](./readme_EN.md)**

不需要MDP-M01显控模块即可对电源进行无线控制,同时支持P905(已测试, 见[#1](https://github.com/ElluIFX/MDP-P906-Controller/issues/1)[#2](https://github.com/ElluIFX/MDP-P906-Controller/issues/2))

Expand Down

0 comments on commit 449c715

Please sign in to comment.