SetCharge

ds2.10/lib/doc/lfun/lib/battery/SetCharge · 338 B

From the archive ds2.10.zip

Download the archive   « Back to the archive contents

SETCHARGE

NAME
        SetCharge()

SYNOPSIS
        int SetCharge(int i)

DESCRIPTION
        Sets the amount of power left in the battery.

EXAMPLES
        A battery with a drain rate of one will be a two-minute battery with this: SetCharge(120)

LOCATION
        /lib/battery.c


SEE ALSO
        GetCharge

Author
        Cratylus

Site Stats

Snippets: 1791
Codebases: 571