This example provides a description of how to use the USART with hardware flowcontrol and communicate with the Hyperterminal.First, the USART2 sends the TxBuffer to the hyperterminal and still waiting fora string from the hyperterminal that you must enter which must end by '\r'character (keypad ENTER button). Each byte received is retransmitted to theHyperterminal. The string that you have entered is stored in the RxBuffer array. The receivebuffer have a RxBufferSize bytes as maximum.
The USART2 is configured as follow: - BaudRate = 115200 baud - Word Length = 8 Bits - One Stop Bit - No parity - Hardware flow control enabled (RTS and CTS signals) - Receive and transmit enabled - USART Clock disabled - USART CPOL: Clock is active low - USART CPHA: Data is captured on the second edge - USART LastBit: The clock pulse of the last data bit is not output to the SCLK pin
Use this program to decode the Manchester Code of the RFID. Validate the accessibility of detected card. Including a keypad controller, generally a all in one card access reader.
A huge program that consist of polling mechanism of a main controller to 32 slave in a fireman intercom environment. Including the handset condition detection, LCD controller, keypad controller, interrupt handling and ADC.
Open C++: Memory Game Example
This Open C++ example application demonstrates a simple memory game.
The game engine part has been written in Open C++ and the UI part has
been written in Symbian C++. The application supports S60 3rd Edition
and S60 5th Edition devices. keypad and Touch UI are supported depending on
the device.
Program for implementing AES on 8051 based microcontrollers. SDCC is used as the C compiler. Microcontroller used is P89V51RD2. There are 2 programs included. One program will accept string via UART and accept key via a 4x4 keypad and display decrypted text on 16x2 LCD. The other program will accept plaintext from UART and show encrypted text on 16x2 LCD after receiving key from 4x4 membrane keypad. Schematics and screenshots are included.