Exemple #1
0
        void testVDC()
        {
            Vdc vdc;

            edio.GetVdc();
            vdc = edio.GetVdc();

            printVDC("Battery ", vdc.vbt, 0x200, 0x345);
            printVDC("VCC 5.0v", vdc.v50, 0x440, 0x510);
            printVDC("VCC 2.5v", vdc.v25, 0x240, 0x260);
            printVDC("VCC 1.2v", vdc.v12, 0x110, 0x130);
        }