This sample demonstrates LED programming. When the program is executed, the LED is blinked.
Download: For Windows, For GNU/Linux
The sample demonstrates access of keys KEY1-KEY4. When the program is executed, the keys are scanned and the key pressed is displayed on the LCD.
Download: For Windows, For GNU/Linux
This sample demonstrates LCD interfacing. When the program is executed the string "Zilogic Systems" is displayed on the LCD, and after a delay of 2 seconds, the string "Explore ZKit-51" is displayed a character at a time, in a typewriter fashion.
Download: For Windows, For GNU/Linux
This sample demonstrates UART communication. When the program is executed, a string is transmitted through the serial interface, and can be seen using a serial terminal program like Hyperterminal or Minicom. The serial terminal program should be configured with the following parameters: 9600 baudrate, 8 data bits, no parity, 1 stop bit. Also note that while using a serial terminal program, the board should be in serial communication mode. Please check your board user manual for further details.
Download: For Windows, For GNU/Linux
This sample demonstrates delays using software timers. When the program is executed the on-board LED is blinked with a time period of 2 seconds.
Download: For Windows, For GNU/Linux
This sample demonstrates the Graphics API. The progam displays a mushroom, represented by a 1-bit-per-pixel packed bitmap, stored in an C array.
Download: For Windows, For GNU/Linux
This sample demonstrates ADC usage. The sample implements a simple analog comparator. When the program is executed, the ADC channel 1 voltage is repeatedly read. If the voltage is greater than Vref / 2, the LED1 is turned on, else LED1 is turned off. The sample can be verified by connecting the ADC channel 1 to Vcc or Ground using a shorting jumper.
Download: For Windows, For GNU/Linux
This sample demonstrates EEPROM usage. The sample implements a reboot counter. The reboot count is stored in location 0 of the EEPROM. When the board is reset (soft or hard), the reboot count is read from the EEPROM, incremented and written back to the EEPROM. The reboot count is also displayed on the LCD.
Download: For Windows, For GNU/Linux