english français deutsch
italiano portugese español

PicBasic Code Samples for the LAB-X2 Experimenter Board

PicBasic code samples for use with the LAB-X2 Experimenter Board from MicroEngineering Labs.

LAB-X2 PicBasic Code Sample - adcx2.pbc

Picbasic Compiler Product Thumb

PicBasic program to send result of 8-bit A/D conversion with SEROUT.

source code

LAB-X2 PicBasic Code Sample - blink3x2.pbc

Picbasic Compiler Product Thumb

PicBasic program to blink 3 LEDs in sequence.

source code

LAB-X2 PicBasic Code Sample - blinkx2.pbc

Picbasic Compiler Product Thumb

PicBasic program to blink an LED connected to PORTB.0 about once a second.

source code

LAB-X2 PicBasic Code Sample - butx2.pbc

Picbasic Compiler Product Thumb

PicBasic program to show button press on LED.

source code

LAB-X2 PicBasic Code Sample - countx2.pbc

Picbasic Compiler Product Thumb

PicBasic program to show binary count on 3 LEDs.

source code

LAB-X2 PicBasic Code Sample - hellox2.pbc

Picbasic Compiler Product Thumb

PicBasic program to send 'Hello World' on hardware serial port (USART).

source code

LAB-X2 PicBasic Code Sample - hserx2.pbc

Picbasic Compiler Product Thumb

PicBasic program to send and receive from the hardware serial port. LEDs count characters and flash error if none received for 10 seconds.

source code

LAB-X2 PicBasic Code Sample - servox2.pbc

Picbasic Compiler Product Thumb

PicBasic program to move RC servo using potentiometer.

source code

LAB-X2 PicBasic Code Sample - upperx2.pbc

Picbasic Compiler Product Thumb

PicBasic program to demonstrate an upper case serial filter.

source code

LAB-X2 PicBasic Code Sample - vux2.pbc

Picbasic Compiler Product Thumb

PicBasic program to display result of ADC on 3 segment bargraph. The last LED in the graph dims or brightens with changes in the analogue input.

source code

Page Updated:
20/12/11

Visa Credit
Mastercard
Visa Debit
Maestro
Visa Electron
Paypal

Tel: +44 7814 044 754 - Fax: +44 8715 283 948 - Skype: warburtech.co.uk

Warburton Technology, 33 Selkirk Close, Wimborne, Dorset, BH21 1TN, United Kingdom

VAT Number: GB 846 917 877