To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.trainsOpen lugnet.trains in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Trains / 20662
20661  |  20663
Subject: 
Re: LDCC + LokSound = true
Newsgroups: 
lugnet.trains
Date: 
Sat, 19 Jul 2003 20:50:57 GMT
Viewed: 
1570 times
  
Hi Mark,

Thanks for your answer.
It works fine with the remote control.

In lugnet.trains, Mark Riley wrote:
You can also control functions F0-F4 with the LDCC IR
Protocol using the ldcc_function you mentioned.  Examples:

  ldcc_function(3, 0, 1);  // turn on Loco #3's headlight
  ldcc_function(3, 4, 1);  // turn on Loco #3's F4 function
  ldcc_function(1, 2, 0);  // turn off Loco #1's F2 function

This works fine for functions of type on/off, but
for effect type of functions (like blowing the whistle on F2)
the calls ldcc_function(1, 2, 1); and ldcc_function(1, 2, 0);
will have to be alternated, and both give effect (i.e. whistle sound).
Repeated ldcc_function(1, 2, 1); calls, which makes more sense,
will only give effect on the first call.


Thomas



Message is in Reply To:
  Re: LDCC + LokSound = true
 
Hi Thomas, Glad to hear LDCC is working for you - with a new brand of decoder and sound, no less! :-) With version 1.05 of LDCC (the current beta), you can use the RCX remote control to activate functions F1 through F4 in addition to the headlight (...) (21 years ago, 14-Jul-03, to lugnet.trains)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR