diff --git a/mdp_controller/mdp_p906.py b/mdp_controller/mdp_p906.py index 13244fc..ea2a9b9 100644 --- a/mdp_controller/mdp_p906.py +++ b/mdp_controller/mdp_p906.py @@ -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. diff --git a/readme.md b/readme.md index 03f236e..c97af61 100644 --- a/readme.md +++ b/readme.md @@ -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))