File: EXP.TXT Date: 12/18/95 The following is a list of the files available for downloading. They include BASIC and assembly language examples. Also included are the PLD program files. File Name Size Date Description ------------ ----- -------- ADC_16.A51 5378 10/07/92 The attached program sets up a high speed loop to convert an analog channel using the ADC-12 Expansion Module. The channel is converted 16 times, and an average is calculated from the results. ADC_GAL.PLD 1879 02/01/93 This file is the source file for the GAL16V8 Programmable Logic Device (PLD) used in the ADC-12 Expansion Module. This file can be modified to alter the write protect area, change the device memory map, etc. ADC_PAL.PLD 1931 02/01/93 This file is the source file for the PALCE16V8Z Programmable Logic Device (PLD) used in the ADC-12 Expansion Module. This file can be modified to alter the write protect area, change the device memory map, etc. ADC_PEEL.PLD 2047 02/01/93 This file is the source file for the PEEL18CV8 Programmable Logic Device (PLD) used in the ADC-12 Expansion Module. This file can be modified to alter the write protect area, change the device memory map, etc. IOEXPIO.BAS 2013 05/08/92 The attached file is a BASIC program that can be used to interactively read from and write to the I/O-24 Expansion Module. It is similar to the program included on the Expansion Module disk, except that this program allows the appropriate ports to be read as inputs. IOLCDKP1.A51 22404 12/01/95 This LCD/Keypad driver is the same as the IOLCDKP@.A51 program, except that it uses Timer1 as the keypad scan interrupt instead of Timer0. This allows the BASIC program to use the software RTC, which uses Timer0 as the time base. IOLCDKP@.A51 23555 05/21/93 The attached file implements the PRINT@ Driver for directing BASIC output to an LCD connected to the I/O-24 Expansion Module. It also includes a timer interrupt for scanning a keypad. A sample BASIC program for character I/O is included in the file comments. IOLCD_P@.A51 12494 01/15/93 This programs implements a user driver for BASIC's PRINT@ statement, which, once initialized, allows characters to be directed to an LCD module. It provides for placing the cursor at the first or second line, as well as clearing the display. The source file includes a hex file that can be loaded at the top of ROMsim for use with any BASIC programs in RAM or ROMsim. IO_GAL.PLD 1971 02/01/93 This file is the source file for the GAL16V8 Programmable Logic Device (PLD) used in the I/O-24 Expansion Module. This file can be modified to alter the write protect area, change the device memory map, etc. IO_PEEL.PLD 2060 02/01/93 This file is the source file for the PEEL18CV8 Programmable Logic Device (PLD) used in the I/O-24 Expansion Module. This file can be modified to alter the write protect area, change the device memory map, etc. KEY_SCAN.BAS 1592 07/13/92 The Key_Scan.BAS program uses the I/O-24 Module to interface to a 4x4 keypad. The program simply reads all rows and columns and displays the ASCII characters assigned to the keys that are pressed. Note that no debouncing is done in this software. For an interrupt driven version of the Key_Scan program (in assembly language) refer to the file LCD_KeyP.A51. LCDALLIO.A51 23440 01/12/94 The attached file is a modified version of the LCD/KeyPad/PRINT@ driver that can be used with the all I/O version of the I/O-24 Expansion Module (BEaR Part Number BE-40-002). The file is also included in the file IO24New.ZIP. LCDKP1.A51 25321 12/18/95 This LCD/Keypad driver is similar to the IOLCDKP1.A51 program, except that it uses a 4-bit interface to the LCD. It also has added commands to move the cursor around on a 4 line LCD. LCD_KEYP.A51 27774 08/25/92 The attached file installs a timer interrupt to update an LCD and scan a keypad connected to the I/O-24 Module. Also included is a BASIC program interface and complete instructions for using with a 2x16 LCD and 4x4 keypad. The LCD and Keypad functions take place "in the background" and the main program can access the LCD and keypad information at any time. The drawback to this implementation is that you can not use BASIC's software timer (CLOCK1) when this interrupt is running. However, the timer interrupt includes a free running timer that can be used by BASIC. MEM_GAL.PLD 2439 02/01/93 This file is the source file for the GAL20V8 Programmable Logic Device (PLD) used in the Memory Expansion Module. This file can be modified to alter the write protect area, change the device memory map, etc. NEWIOLCD.A51 14153 07/14/92 The attached file is the source file for the updated LCD driver software for the I/O-24 Expansion Module. It is functionally equivalent to the LCD driver supplied with the I/O-24, but it is easier to follow and includes more application information and examples