(50g) Battery Voltage +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (https://www.hpmuseum.org/forum/forum-10.html) +--- Forum: General Software Library (https://www.hpmuseum.org/forum/forum-13.html) +--- Thread: (50g) Battery Voltage (/thread-23137.html) |
(50g) Battery Voltage - 2old2randr - 2025-02-16 02:30 AM Attached is a tiny program that reports the battery voltage on a physical HP 50g. Note that this works only on the 50g and will not report correct results on an HP 49g+ since the scaling from the value reported to a voltage is different (max 4.5V instead of 6V). The improvement is trivial but I don't have access to an HP 49g+ to do it myself. To use, unzip the attachment and copy BVolt.hp to your calculator and run it. The battery voltage and comment (Good/ Charge/ Bad) will be displayed in the top status line. Cheers Sudhir The attached zip file contains: 1. BVolt.hp: Compiled program. When placed on the stack, it has a checksum of #C46Bh and a size of 219 bytes. 2. Battery.s: Source code - can be compiled with MASD on the calculator itself. |