Rev | Line | |
---|
[42] | 1 | <?php // content="text/plain; charset=utf-8"
|
---|
| 2 |
|
---|
| 3 | require_once ('jpgraph/jpgraph.php');
|
---|
| 4 | require_once ('jpgraph/jpgraph_led.php');
|
---|
| 5 |
|
---|
| 6 | // By default each "LED" circle has a radius of 3 pixels. Change to 5 and slghtly smaller margin
|
---|
| 7 | $led = new DigitalLED74(3);
|
---|
| 8 | $led->SetSupersampling(2);
|
---|
| 9 | $text = 'Ð '.
|
---|
| 10 | 'С'.
|
---|
| 11 | 'Т'.
|
---|
| 12 | 'У'.
|
---|
| 13 | 'Ѐ'.
|
---|
| 14 | 'Ð¥'.
|
---|
| 15 | 'Њ'.
|
---|
| 16 | 'Ч'.
|
---|
| 17 | 'К'.
|
---|
| 18 | 'Щ'.
|
---|
| 19 | 'Ъ'.
|
---|
| 20 | 'Ы'.
|
---|
| 21 | 'Ь'.
|
---|
| 22 | 'Ð'.
|
---|
| 23 | 'Ю'.
|
---|
| 24 | 'Я';
|
---|
| 25 | $led->StrokeNumber($text, LEDC_RED);
|
---|
| 26 |
|
---|
| 27 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.