COM interface/HTTP server: LED, Light(...)-method

Touch-It not working as expected? Report problems and share solutions!
touchitfan
Posts: 7
Joined: Fri Apr 10, 2015 12:01 pm

COM interface/HTTP server: LED, Light(...)-method

Postby touchitfan » Mon May 31, 2021 11:17 pm

Hello,

how does the Light(...)-method work? First parameter is the name, the second a numeric one - 0/off, 1/on or? What's the purpose of "Code"?
Dito HTTP server?


Many thanks and greetings
touchitfan

User avatar
chessware
Site Admin
Posts: 387
Joined: Sat Jun 22, 2013 11:26 am
Contact:

Re: COM interface/HTTP server: LED, Light(...)-method

Postby chessware » Wed Jun 02, 2021 11:51 am

In the designer, name the LED and set the code to 0 (other codes are managed internally. eg. 20 is CapsLock).

Call the Light method with this name and the state (0=off, 1=on).


Return to “Problems and solutions”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests