1 // ****************************************************************************
2 // vfdbrightness.c (C) 1992-2003 Christophe de Dinechin (ddd)
4 // ****************************************************************************
8 // Select the brightness for the VFD
17 // ****************************************************************************
18 // This document is confidential.
19 // Do not redistribute without written permission
20 // ****************************************************************************
22 // * Revision : $Revision$
24 // ****************************************************************************
26 #define VFDCLIENT "vfbrightness"
27 #define VFDOPTIONS "options.tbl"
28 #define VFDCONFIG "brightness"
30 #include "vfdclient.h"
33 int main (int argc
, char *argv
[])
34 // ----------------------------------------------------------------------------
35 // Change VFD brightness
36 // ----------------------------------------------------------------------------
43 vfd
= vfd_open(server
, port
);
44 vfd_set_brightness(vfd
, atoi(argv
[1]) / 100.0);