ViewPAC Demo list

- About the detailed steps to compile demo programs, please refer to the Compiler.pdf.

Folder | Files | Explanation
Lib | vh2k.lib & vh2k.h | CPU Library (includes basic APIs for DI, DO, DIO modules, keypad, buzzer, dual battery backup SRAM, etc.)
vp2k_lcd.lib & vp2k_lcd.h | LCD Library (includes APIs for LCD)

Folder | Demo | Explanation
lcd_key | showchar | Shows characters
showbmp | Shows BMP pictures
showTC | Shows Traditional Chinese Font
lcd_backlight | Adjusts LCD backlight
cursor | Shows cursor
keystatus | Shows status of key down/up.
presskey | Shows key value
testkey | Shows key value
LED indicator | control LED indicator ON/OFF
viewpac | Over all function test.
sound | change_key_sound | Changes sound of key pressing.
sound1

Folder | Demo | Explanation
File | Config_1_Basic | Reads information from text files(basic).
Config_2_Advanced | Reads config file (text file)(advanced).
Hello | Hello_C | Reads library version and flash memory size.
Hello_C++
Misc | Reset | Software's reset.
Runprog | To select item and run it.
Serial | To get 64-bit hardware unique serial number.
Watchdog | Enabled WDT or bypass enable watchdog.
Smmi | SystemKey | User can operate systemkey simple and easily.
Led | To control red led and 7-segment display.
Memory |  |
Eprom, Flash, Nvram |
DateTime |  | User can read and write the date & time of RTC.
Timer |  |
Com Port | C_Style_IO | (1) Show how to write a function for input data. (2) To get a string. (3) To use C function: sscanf or just use Scanf().
Receive | Receive COM port. Slv_COM.c is non-blocked mode Receive.c is blocked mode.
Slv_COM | Slave COM port demo for (request/reply) or (command/response) application.
ToCom_In_Out | How to Read/Write the byte data via COM port.
7K87K_for_Com | 7K87K_demo_for_com | User can use "Com port" to connect and control 7k or 87k modules. Com port: 8410/8810/8411/8811 can use, Com2,Com3. 8430/8830/8431/8831(CPU 40 and 80M) can use Com3,Com4. VP-2111/VH-2110 can use Com 2,Com 3
7K87K_DI_for_Com
7K87K_DO_for_Com
7K87K_DIO_for_Com
7K87K_AI_for_Com
AO_22_26_for_Com
AO_024_for_Com