NOVELTY - The regulator/converter (400) has a memory to store current parameters e.g. preset peak current levels, and coupled to a control circuit. The circuit modulates an energizing cycle time period to provide a constant direct current (DC) average current to LEDs (140), in response to a selected current parameter. A comparator (115) is coupled to a current sensor (150) and the circuit. The circuit turns a driving switch (125) on to commence an energizing cycle and to turn the switch off when the comparator indicates that an inductor current has increased to a preset peak level.    USE - Used for controlling current to high power solid state lighting e.g. LED, light emitting polymer, organic LED and electroluminescent diode, and coupling with a power source e.g. battery, direct current (DC) power source, and alternating current (AC) power source coupled to a rectifier.    ADVANTAGE - The regulator/converter provides a digital control without requiring external compensation. The regulator/converter utilizing fewer components, is compact, inexpensive and efficient, and ensures longer battery life when the regulator/converter is used in portable devices such as camera and mobile telephone.    DETAILED DESCRIPTION - INDEPENDENT CLAIMS are also included for the following:    (1) a method of providing power to a solid state lighting system    (2) an apparatus for controlling current to solid state lighting.    DESCRIPTION OF DRAWING(S) - The drawing shows a circuit and a block diagram of a current regulator or converter.    Voltage level (Vc)    Input voltage (VIN)    Direct current (DC) power supply (105)    Rail portion (106)    Comparators (115, 120, 380)    Driving switch (125)    Buffer (130)    Capacitors (135, 165)    LEDs (140)    Inductor (145)    Current sensors (150, 345)    Resistors (155, 160)    Diode or rectifier (170)    Voltage divider (185)    Controller (310A)    Preset voltage references (320, 375, 395)    Current sense resistor (385)    Current regulator/converter (400)