The LAB-XUSB offers USB connectivity when used with the 18F4550. Some of
these examples demonstrate USB, others demonstrate other peripherals on the
board.
adci10xu.pbp | PICBASIC PRO program to display result of 10-bit A/D conversion on LCD. Connect analog input to channel-0 (RA0). |
adcin2xu.pbp | PICBASIC PRO program to display result of 8-bit A/D conversion on LCD. Connect analog input to channels 0, 1 (RA0, 1). |
adcin8xu.pbp | PICBASIC PRO program to display result of 8-bit A/D conversion on LCD. Connect analog input to channel-0 (RA0). |
adcxu.pbp | PICBASIC PRO program to read pots on 16F877 ADC. |
blink4xu.pbp | PICBASIC PRO program to blink all the LEDs connected to PORTD. |
blinkxu.pbp | PICBASIC PRO program to blink an LED connected to PORTD.0 about once a second. |
bpxu.pbp | PICBASIC PRO program to simulate an LCD Backpack. |
butxu.pbp | PICBASIC PRO program to show button press on LED. |
clockxu.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. |
dacxu.pbp | PICBASIC PRO program to demonstrate the use of the MAX549A Digital to Analog Converter. This program causes the DAC to output a sawtooth wave on channel A and a sinewave on channel B. |
hserxu.pbp | PICBASIC PRO program to send and receive from the hardware serial port. |
i2cwxu.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. |
i2cxu.pbp | PICBASIC PRO program to read and write to I2C SEEPROMs 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. |
keyxu.pbp | PICBASIC PRO program to display key number on LCD. |
lcdxu.pbp | PICBASIC PRO program to display 'Hello World' on LCD. |
rtcxu.pbp | PICBASIC PRO program for an LCD clock program using the Dallas DS1307 I2C RTC. |
servoxu.pbp | PICBASIC PRO program to move RC servo 1 using buttons. Button 1 moves servo left, 2 centers servo, 3 moves servo right. |
tempxu.pbp | PICBASIC PRO program to read DS1820 1-wire temperature sensor and display temperature on LCD. |
testxu.pbp | PICBASIC PRO test program for LAB-XUSB. |
tonexu.pbp | PICBASIC PRO program to create telephone pad tone. Oscillator must be set to 20MHz. |
usbcdc.pbp | PICBASIC PRO program for PIC18F4550 CDC serial port emulation. Compilation of this program requires that specific support files be available in the source directory. You may also need to modify the file USBDESC.ASM so that the proper descriptor files are included. For detailed information, see the file PBP\USB18\USB.TXT. |
usbjadem.pbp | PICBASIC PRO USB sample program implements the functionality of the Jan Axelson demo which accepts two numbers from the host, increments each and sends them back. An application running on the host sends the numbers and displays the returned values. Compilation of this program requires that specific support files be available in the source directory. You may also need to modify the file USBDESC.ASM so that the proper descriptor files are included. For detailed information, see the file PBP\USB18\USB.TXT. |
USBMOUSE.pbp | PICBASIC PRO USB sample program for PIC18F4550 to move mouse cursor. Compilation of this program requires that specific support files be available in the source directory. You may also need to modify the file USBDESC.ASM so that the proper descriptor files are included. For detailed information, see the file PBP\USB18\USB.TXT. |
vbarxu.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. |
vmeterxu.pbp | PICBASIC PRO program to measure voltage (0-5VDC) and display on LCD with 2 decimal places. This program uses the */ operator to scale the ADC result from 0-1023 to 0-500. The */ performs a divide by 256 automatically, allowing math which would normally exceed the limit of a word variable. Connect analog input to channel-0 (RA0). |