Demonstration Programs for Version 1.20 of the PICBASIC PLUS Compiler. |
|
|
|
Program Name |
Program Description |
3_Buttons.bas |
Demonstrates multiple BUTTON commands. Each of 3 buttons toggles an LED. Hold a button for 1 second and the LED will flash. |
93LC56A.bas |
Program to read and write to a Microwire serial eeprom type: - 93LC56A. |
ADIN.bas |
Read channel 0 of the on-board ADC and transmit the results serially. |
Bargraf.bas |
This program generates a horizontal bargraph on a 2x16 LCD Display. |
Buttons.bas |
Show button press on LED. |
CCP_Test.bas |
Demonstrate the use of the hardware capture module to measure the period of a frequency input. |
Flash.bas |
Flash all the LEDs connected to PORTD. |
Clock.bas |
LCD clock program using On Interrupt (software interrupts). Uses TMR0 and prescaler. Buttons may be used to set hours and minutes. |
Count.bas |
Show binary count on LEDS. |
Cwrite.bas |
Program to read and write to code space. |
GLCD_Test.bas |
Display text and graphics on a graphic LCD. |
Hello.bas |
Program to send "Hello World" to the serial port. |
HPWM.bas |
Demonstrate Hardware PWM. Output a 1KHz signal with duty cycle sweeping from 20% to 80% once per second. |
Hser.bas |
Program to send and receive from the hardware serial port. |
Hser2.bas |
Program to send and receive from the hardware serial port. LEDs count characters and flash error if none received for 10 seconds. |
I2C.bas |
Program to read and write to I2C serial eeproms. |
I2C_Fram.bas |
Program to read and write to I2C serial FRAM. |
I2C_Slave.bas |
I2C slave program. |
Inkey.bas |
Demonstrate the INKEY command. |
Keypad.bas |
Program to display key number on LCD. |
LTC1298 |
Program to read LTC1298 ADC. |
MAX7219.bas |
Program to demonstrate the MAX7219, seven segment decoder driver. |
NexFlash.bas |
Read and Write to a NEXFLASH NX26M080A card or NX26F160 chip. |
Pot.bas |
Display the result of the POT command. |
Pwm.bas |
Adjust the brightness of an LED using the PWM command. |
Quanta.bas |
Quantisised ADC Results. |
Rcin.bas |
Demonstrate the RCIN command. |
RT_Clock.bas |
LCD clock program using Dallas1202/1302 RTC. |
Serial_Buf.bas |
Program to demonstrate an interrupt-driven input buffer for HRSIN using On Interrupt. |
Servo.bas |
Program to move RC servo using potentiometer. |
Sleep.bas |
Demonstrate the SLEEP Command. |
Sound.bas |
Demonstrate the SOUND command. |
SPI.bas |
Read and write to SPI serial eeproms. |
SPI_Slave.bas |
SPI slave program. |
SR_Key.bas |
Simple Serial Keypad. |
SR_LCD.bas |
Simple Serial LCD. |
StrTrek.bas |
Star Trek The Next Generation...Theme and ship take-off. |
Temp.bas |
Read a DS1820 1-wire temperature sensor and display temperature on LCD |
Temp2.bas |
Read a DS1620 3-wire temperature sensor and display temperature on LCD. |
Tunes.bas |
Play any of 5 tunes depending on which key is pressed. |
Tmr1_Clk.bas |
Demonstrates the use of the Timer1 interrupt for a real-time clock. |
Tone.bas |
Program to create telephone pad tone. |
USART.bas |
Read and write the hardware USART. |
V_Bar.bas |
Measure voltage (0-5VDC) and display on LCD with 2 decimal places. A 60 segment bargraph is also displayed using custom LCD characters. |
VU.bas |
Display result of ADC in 3 segment bargraph. |
VU_Meter.bas |
Measure voltage (0-5VDC) and display on LCD with 2 decimal places |
Wakeup.bas |
Demonstrate wake on interrupt.. |