ME Labs, Inc.
719-520-5323
 
Home:
  Developer Resources:

Programming Clues
    Sample Programs
   
    PICBASIC PRO™
Compiler Manual
    PICBASIC™ Compiler
Manual
    Serin2/Serout2 Modes
    ASCII Character Set
    Number Conversion
    Floating Point
Routines
    PBP Debug Monitor
    Articles and Tutorials

Hardware Clues
    Parts / Vendor List
    PICPROTO™ Boards
    LAB-X1 Docs
    LAB-X2 Docs
    LAB-X20 Docs
    LAB-X3 Docs
    LAB-X4 Docs
    LAB-XUSB Docs
    LAB-XT Docs
     
 

PBP examples written for PIC16F690 running on the LAB-X20

The LAB-X20 supports 8-pin, 14-pin, and 20-pin devices. These examples use the 20-pin PIC16F690 for full functionality of the experimenter board.

ADCX20.pbpPICBASIC PRO program to read pot and display on LCD.
BLINKX20.pbpPICBASIC PRO program to blink an LED connected to PORTA.4 about once a second.
BPX20.pbpPICBASIC PRO program to simulate an LCD Backpack.
BUTX20.pbpPICBASIC PRO program to show button press on LEDs.
CLOCKX20.pbpPICBASIC PRO program for 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 time.
COUNTX20.pbpPICBASIC PRO program to show binary count on 2 LEDS.
HELLOX20.pbpPICBASIC PRO program to send 'Hello World' on serial port.
HSERX20.pbpPICBASIC PRO program to send and receive from the hardware serial port. LEDs count characters and flash error if none received for 10 seconds.
I2CWX20.pbpPICBASIC 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 sends to LCD repeatedly.
I2CX20.pbpPICBASIC 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 sends to LCD repeatedly. Note: for SEEPROMs with byte-sized address.
LCDX20.pbpPICBASIC PRO program to display 'Hello World' on LCD.
SERVOX20.pbpPICBASIC PRO program to move RC servo using buttons. Button 1 moves servo left, 2 moves servo right. Press both buttons to center servo.
TESTX20.pbpPICBASIC PRO test program for LAB-X20 (16F690).
UPPERX20.pbpPICBASIC PRO program for upper case serial filter.
VUX20.pbpPICBASIC PRO program to display pot on 2 segment bargraph. The last LED in the graph dims or brightens with changes in the pot.