|
|
|
|
|
LAB-X2 PicBasic Pro Code
|
3butx2.bas
3butx2.hex |
Demonstrates multiple BUTTON commands. Each of 3 buttons
toggles an LED. |
adc10x2.bas
adc10x2.hex |
Read an analogue voltage on RA0 and send the decimal
representation of the value on the serial port at 2400 baud.
10-bit conversion yields 0-1023 result for 0-5 volt input. |
adc8x2.bas
adc8x2.hex |
Read an analogue voltage on RA0 and send the decimal
representation of the value on the serial port at 2400 baud.
8-bit conversion yields 0-255 result for 0-5 volt input. |
blink3x2.bas
blink3x2.hex |
PicBasic Pro program to blink 3 LEDS in sequence. |
blinkx2.bas
blinkx2.hex |
PicBasic Pro program to blink an LED connected to PORTB.0
about once a second |
butx2.bas
butx2.hex |
PicBasic Pro program to show button press on LED |
ccpx2.bas
ccpx2.hex |
PicBasic Pro Program to demonstrate the use of the hardware
capture module to measure the period of a frequency input. |
countx2.bas
countx2.hex |
PicBasic Pro program to show binary count on 3 LEDS |
hellox2.bas
hellox2.hex |
PicBasic Pro program to send "Hello World" on serial
port |
hserx2.bas
hserx2.hex |
PicBasic Pro program to send and receive from the hardware
serial port. LEDs count characters and flash error if none
received for 10 seconds. |
servox2.bas
servox2.hex |
PicBasic Pro program to move RC servo using potentiometer |
upperx2.bas
upperx2.hex |
PicBasic Pro upper case serial filter. |
vux2.bas
vux2.hex |
PicBasic Pro program to display result of ADC in 3 segment
bargraph. The last LED in the graph dims or brightens with
changes in the analogue input. |
wakex2.bas
wakex2.hex |
PicBasic Pro program to demonstrate wake from sleep
on RB port change interrupt. |
|
|
|
|
|
|
Page Updated: 18/05/10
Copyright © 2002-2010 Warburton Technology
|
|
|
|
|
|
|