Leitgedanken/jpgraph/src/Examples/ledex_cyrillic.php
2022-11-21 09:47:28 +01:00

28 lines
599 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php // content="text/plain; charset=utf-8"
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_led.php');
// By default each "LED" circle has a radius of 3 pixels. Change to 5 and slghtly smaller margin
$led = new DigitalLED74(3);
$led->SetSupersampling(2);
$text = 'А'.
'Б'.
'В'.
'Г'.
'Д'.
'Е'.
'Ё'.
'З'.
'И'.
'Й'.
'К'.
'Л'.
'М'.
'Н'.
'О'.
'П';
$led->StrokeNumber($text, LEDC_RED);
?>