Superp Posted January 6, 2022 at 09:45 AM Share Posted January 6, 2022 at 09:45 AM Hello, For a Master Brick 3.1 (HW version 3.0.0, FW 2.5.1, Ruby bindings 2.1.29), it seems #get_usb_voltage always returns 0 (zero). The documentation says "Returns the USB voltage. Does not work with hardware version 2.1". I am asking because I have a stack powered via USB by a power pack. Quote Link to comment Share on other sites More sharing options...
batti Posted January 6, 2022 at 03:37 PM Share Posted January 6, 2022 at 03:37 PM Hello, it's right it is not working since version 2.1. Before that we had a analog measurement of the USB voltage to detect if USB is connected. With version 2.1 we have introduced a more stable solution which unfortunately makes it impossible to measure the voltage. Quote Link to comment Share on other sites More sharing options...
rtrbt Posted January 7, 2022 at 08:20 AM Share Posted January 7, 2022 at 08:20 AM Fixed. The docs are generating right now. Quote Link to comment Share on other sites More sharing options...
Superp Posted January 7, 2022 at 09:04 AM Author Share Posted January 7, 2022 at 09:04 AM Well no, I would not say it is fixed, it's documented. This is costing me a bit. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.