English
Source / code snippets

Bitmap Blinkende Hpic Leds

 
Blinkende LEDs Bitmap hPic

iF (18.09.12)

here one vollständiger View source pretty blinkender LEDs:

Download


CompileMarkSeparation
cls
var orangeLEDBild&=create("hPic",-1,"orange.png")
var gruenLEDBild&=create("hPic",-1,"grün.png")
var cyanLEDBild&=create("hPic",-1,"cyan.png")
var ausLEDBild&=create("hPic",-1,"aus.png")
//
var orangeLEDBitmap&=create("bitmap",%hWnd,orangeLEDBild&,30,30)
var gruenLEDBitmap&=create("bitmap",%hWnd,gruenLEDBild&,50,30)
var cyanLEDBitmap&=create("bitmap",%hWnd,cyanLEDBild&,70,30)

while 1

    waitinput 50

    if rnd(2)

        sendMessage(orangeLEDBitmap&,370,0,orangeLEDBild&)

    else

        sendMessage(orangeLEDBitmap&,370,0,ausLEDBild&)

    endif

    if rnd(2)

        sendMessage(gruenLEDBitmap&,370,0,gruenLEDBild&)

    else

        sendMessage(gruenLEDBitmap&,370,0,ausLEDBild&)

    endif

    if rnd(2)

        sendMessage(cyanLEDBitmap&,370,0,cyanLEDBild&)

    else

        sendMessage(cyanLEDBitmap&,370,0,ausLEDBild&)

    endif

wend

end

sees from How with one "Modem".
 
09/18/12  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.950 Views

Untitledvor 0 min.
Gast.081510/03/24
H.Brill10/12/23
E.T.07/29/23
RudiB.04/14/22
More...

Themeninformationen

this Topic has 1 subscriber:

iF (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie