Creating a /dev/alpha Device on LinuxCreating the device is as simple as figuring out what serial port you've got the sign hooked up to. For instance, COM1:
If you are brave, you can give the world read/write access to your sign. This may be important, especially if you are using a web server to update the sign.
Configuring the Communication Settings for Binary AccessCommands to the sign use control characters. (See the protocol.)These settings provide a 9600,E,7,1 connection to the sign for use with the RJ12 to RS232-DB9 adapter.
Testing the signalphatest.pl
#!/usr/bin/perl
Make the code executable and run it, redirecting output to the sign's device: The sign should now read "It Worked!"
|