Go to content Go to navigation

Fancy Power Feedback

30 July 2009, 13:54 by Chad Reynoldson

Here are a couple of fancy feedback statements for projector on and off buttons:

(*-- PROJECTOR --------------------------------------------*)
  [dvPNL,211] =([dvPROJ1,127] && ![dvPROJ1,227]) || ([dvPROJ1,227] && nFlash)
  [dvPNL,212] =([dvPROJ1,128] && ![dvPROJ1,228]) || ([dvPROJ1,228] && nFlash)


If you can’t tell by looking at it, I use channels 127/128 for on/off state. Channels 227/228 are used for the transition to on/off state (warming and cooling). For the record, channels 27/28 are used for execution.

Of course, you need to toggle nFlash in mainline (yes mainline) like this:

WAIT 5 nFlash = !nFlash

Comments

Comments are turned off for this article.