![KR-sabers VERSO User Manual Download Page 11](http://html.mh-extra.com/html/kr-sabers/verso/verso_user-manual_2000047011.webp)
10 |
user manual made by KR-sabers and Dmitry Shtok
3
Configuration file
The configuration file is an INI text file (
config.ini
) placed at the root directory of the micro-SD card. It is subdivided into six sections:
●
Settings
●
Fonts
●
Effects
●
Presets
●
Blade Colours
●
Blade Profiles (effects)
Refer to the
config.ini
file on micro-SD card as an example.
Settings Section
blade_type
– can have one of the following values:
hbled
– for high-brightness LEDs
pixel
– for addressable LED strips
strip_type
–
is valid only if
blade_type = pixel
and can have one of the following values:
ws2812
– for WS2812 and SK6812 led (pixel) strips
apa102
– for APA102C led (pixel) strips
pixel_count
–
is valid only if
blade_type = pixel
and is the number of leds on ONE SIDE of the strip, for example:
pixel_count = 144
hbledN
– this configures each LED output being
N
the number of the LED: 1, 2 or 3, where 1 = RED, 2 = GREEN, 3 = BLUE. It is a series of values defined like:
hbledN = <maximum current>, <maximum voltage>, <resistor>, <current point 1>, <voltage point 1>
<maximum current>
– is the maximum current the LED can withstand (in amperes)
<maximum voltage>
– is the voltage at maximum current (in volts)
<resistor>
– is the resistor connected to the LED (in Ohms)
<current point 1>
– is a current value in amperes, lower than maximum current (usually 0.35A)
<voltage point 1>
– is the voltage of the LED at current point 1 (LED voltage at 0.35A)
<current point 1>
and
<voltage point 1>
are values used to estimate the current of the LED when the input voltage is higher than maximum voltage.
For example, for an LED connected to
LED output 1
, with maximum current =
1
A, maximum voltage =
2.7
V, a
1
Ohm resistor, current point 1 =
0.35
A and
voltage point 1 =
2.2
V, the value should be:
hbled1 = 1, 2.7, 1, 0.35, 2.2
NOTE:
if
hbled1
,
hbled2
or
hbled3
values are missing in the configuration file, then the following values are taken by default (for a Cree XPE2 RGB LED):
hbled1 = 1, 2.65, 1, 0.35, 2.2 – (RED LED)
hbled2 = 1, 3.7, 0, 0.35, 3.2 – (GREEN LED)
hbled3 = 1, 3.4, 0.33, 0.35, 3.1 – (BLUE LED)
The
RED LED
has a 1 Ohm resistor, the
GREEN LED
has no resistor and the
BLUE LED
has no resistor.
crossguard_pixel_count
–
is valid only if
blade_type = pixel
and is the number of LEDs in each secondary LED strip.
Should be 0 if no secondary strip is installed.
crossguard_delay
–
is valid only if
blade_type = pixel
and is the delay between the end of the ignition/retraction of the main blade and the start of the
ignition/retraction of the crossguard blades. A higher number means a longer delay. A value of 100 produces a delay equivalent to 100 pixels
ingiting/retracting between the main and crossguard pixels.
EDITING PARAMETERS
2
VERSO
INSTRUCTIONS