The 16F877A was very popular in its day, but has been replaced by the 16F887. These examples were the first
published for the LAB-X1.
adcin10x.pbp | PICBASIC PRO program to display result of 10-bit A/D conversion on LCD Connect analog input to channel-0 (RA0) |
adcin3x.pbp | PICBASIC PRO program to display result of 8-bit A/D conversion on LCD Connect analog inputs to channels 0, 1, 3 (RA0, 1, 3) |
adcin8x.pbp | PICBASIC PRO program to display result of 8-bit A/D conversion on LCD Connect analog input to channel-0 (RA0) |
adcx.pbp | PICBASIC PRO program to read pots on 16F877 ADC |
blink8x.pbp | PICBASIC PRO program to blink all the LEDs connected to PORTD |
blinkx.pbp | PICBASIC PRO program to blink an LED connected to PORTD.0 about once a second |
bpx.pbp | PICBASIC PRO program to simulate an LCD Serial Backpack. Serial data received is displayed on the LAB-X1 LCD. |
butx.pbp | PICBASIC PRO program to show button presses on 4 LEDs with the LAB-X1. |
clockx.pbp | PICBASIC PRO program for an LCD clock using On Interrupt. Uses TMR0 and prescaler. Watchdog Timer should be set to off at program time and Nap and Sleep should not be used. Buttons may be used to set hours and minutes. |
cmp877Ax.pbp | PICBASIC PRO to demonstrate the setup and use of analog comparators. This program will not compile for the 16F877, as it has no comparators. You must use the 16F877A, or another PICmicro MCU with comparators. Inputs are analog voltages on RA0 and RA3. The program will compare the voltages and tell you which is greater. On the LAB-X1, POT1 and POT3 adjust the respective inputs. |
eepagex.pbp | PICBASIC PRO to demonstrate the page-write capability of the 24LC256 serial memory. This program will transfer 64 bytes of data to the memory before a pause is needed to complete the write. |
hserx.pbp | PICBASIC PRO to send and receive from the hardware serial port. |
i2cWordx.pbp | PICBASIC PRO program to read and write to I2C SEEPROMs that require a word-sized address. Writes to the first 16 locations of an external serial EEPROM. Reads first 16 locations back and send to LCD repeatedly. |
i2cwx.pbp | PICBASIC PRO program to read and write to I2C SEEPROMs that require a word-sized address. Writes to the first 16 locations of an external serial EEPROM. Reads first 16 locations back and send to LCD repeatedly. |
i2cx.pbp | PICBASIC PRO program to read and write to I2C SEEPROMs that require a byte-sized address. Writes to the first 16 locations of an external serial EEPROM. Reads first 16 locations back and send to LCD repeatedly. |
jrcx.pbp | PICBASIC PRO program for an LCD clock using the JRC6355 RTC. |
keyx.pbp | PICBASIC PRO program to display key numbers on LAB-X1 LCD. |
lcdinx.pbp | PICBASIC PRO program to display 'hello world' on LCD, then use LCDIN to read the first letter of each line and change it to upper case. |
lcdx.pbp | PICBASIC PRO program to display 'Hello World' on LAB-X1 LCD. |
lcd_bit_bang.pbp | PICBASIC PRO program to manually operate (without LCDOUT) an LCD in 4-bit mode with the PIC16F877A and LAB-X1. |
ltcx.pbp | PICBASIC PRO program to read LTC1298 ADC. |
mwx.pbp | PICBASIC PRO program to read and write to Microwire SEEPROM 93LC56A. Writes to the first 16 locations of an external serial EEPROM. Reads first 16 locations back and send to LCD repeatedly. Note: for SEEPROMs with byte-sized address. |
progee8x.pbp | PICBASIC PRO program to receive a HEX file from PC and write data to I2C memory. Writes data in page mode, 8 bytes at one time. Memory device must be addressed with 8 bits and capable of receiving 8 bytes at once. |
progeex.pbp | PICBASIC PRO program to receive a HEX file from PC and write data to I2C memory. Writes data in page mode, 16 bytes at one time. Memory device must be addressed with 8 bits and capable of receiving 16 bytes at once. |
rtcx.pbp | PICBASIC PRO program for LCD clock using the Dallas 1202/1302 RTC ICs. |
rwcodex.pbp | PICBASIC PRO program to read and write to code space Flash Program Write must be enabled on your programmer. Writes to 8 locations of code space beginning at $1800. Reads 8 locations back and sends to LCD repeatedly. |
serbufAx.pbp | PICBASIC PRO program to demonstrate an interrupt-driven input buffer for hardware USART receive using Assembly language interrupt. Pin definitions compatible with LAB-X1 and PIC16F877 |
serbufx.pbp | PICBASIC PRO program to demonstrate an interrupt-driven input buffer for Hserin using On Interrupt. Pin definitions compatible with LAB-X1 and PIC16F877. |
servosx.pbp | PICBASIC PRO program for servo control using On Interrupt. Uses TMR0 and prescaler. Watchdog Timer should be set to off at program time and Nap and Sleep should not be used. Buttons on LAB-X1 keypad are used to move servos. |
servox.pbp | PICBASIC PRO program to move RC servo 1 using keypad buttons. Button 1 moves servo left, 2 centers servo, 3 moves servo right. |
spix.pbp | PICBASIC PRO program to read and write to SPI SEEPROMs Writes to the first 16 locations of an external serial EEPROM. Then reads first 16 locations back and send to LCD repeatedly Note: for SEEPROMs with word-sized address. |
strtblx.pbp | PICBASIC PRO program to demonstrate a method of storing text strings in a table. The strings can be called by storing the location of the first character in a variable and calling the strout subroutine. The string will be sent to both LCD and Serial pin and the main program will resume when the null terminating character is encountered in the table. |
temp3x.pbp | PICBASIC PRO program to read the DS1620 3-wire temperature sensor and display temperature on LCD. |
tempx.pbp | PICBASIC PRO program to read DS1820 1-wire temperature sensor and display temperature on LCD. |
temp_DS1822.pbp | PICBASIC PRO program to read DS1822 or DS18B20 1-wire temperature sensor using OWIN and OWOUT commands and display temperature on LCD. |
testx.pbp | PICBASIC PRO program test program for LAB-X1. |
tmr1clkx.pbp | PICBASIC PRO program that demonstrates the use of Timer1 interrupt for a real-time clock. Written for the LAB-X1 experimenter board with a 16F877. |
tonex.pbp | PICBASIC PRO program to create telephone pad tone. Note: LAB-X1 Oscillator must be set to 20MHz |
vbarx.pbp | PICBASIC PRO program to measure voltage (0-5VDC) and display on LCD with 2 decimal places. A 60 segment bargraph is also displayed using custom LCD characters. |
vmeterx.pbp | PICBASIC PRO program to measure voltage (0-5VDC) and display on LCD with 2 decimal places. |