PicBasic™ Sample Code for the Labx2 Experimenter Board

adcx2.pbc
PICBASIC program to send result of 8-bit A/D conversion with serout
blink3x2.pbc
PICBASIC program to blink 3 LEDS in sequence
blinkx2.pbc
PICBASIC program to blink an LED connected to PORTB.0 about once a second
butx2.pbc
PICBASIC program to show button press on LED
countx2.pbc
PICBASIC program to show binary count on 3 LEDS
hellox2.pbc
PICBASIC program to send "Hello World" on hardware serial port (USART)
hserx2.pbc
PICBASIC program to send and receive from the hardware serial port. LEDs count characters and flash error if none received for 10 seconds.
servox2.pbc
PICBASIC program to move RC servo using potentiometer
upperx2.pbc
PICBASIC upper case serial filter.
vux2.pbc
PICBASIC program to display result of ADC in 3 segment bargraph. The last LED in the graph dims or brightens with changes in the analog input.