Superp Geschrieben January 6, 2022 at 09:45 Share Geschrieben January 6, 2022 at 09:45 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. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
batti Geschrieben January 6, 2022 at 15:37 Share Geschrieben January 6, 2022 at 15:37 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. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
rtrbt Geschrieben January 7, 2022 at 08:20 Share Geschrieben January 7, 2022 at 08:20 Fixed. The docs are generating right now. Zitieren Link zu diesem Kommentar Share on other sites More sharing options...
Superp Geschrieben January 7, 2022 at 09:04 Autor Share Geschrieben January 7, 2022 at 09:04 Well no, I would not say it is fixed, it's documented. This is costing me a bit. Zitieren Link zu diesem Kommentar 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.