8051 Web Server project
See Makefile for build notes
Written for Keil C51 V5.1 compiler, notes:
It uses big endian order, which is the same as the
network byte order, unlike x86 systems.
Use OPTIMIZE(2)or higher so that automatic variables get shared
// between functions, to stay within the 256 Bytes idata space
This little Program allows you to send commands to the CardReader (CT-BCS) or to the Card itself.
First you will be ask to what Port the Reader is connected (0=COM1, 1=COM2).
Then the Class-Byte (CLA), Instruction-Byte (INS), Parameter 1 (P1), Parameter 2 (P2).
If wou don愒 want to send Parameter 3 (P3) press Ctrl-d (^d).
If you enter a number then you have to the Bytes of the Datafield.
After the last Byte of the Datafield is entered the whole APDU is send the replay is displayed. After that you can send the next APDU.
NRF905驅動代碼
// The content of this struct is nRF905 s initialize data.
// CH_NO=1 433MHZ Normal Opration,No Retrans RX,TX Address is 4 Bytes
// RX TX Payload Width is 32 Bytes Disable Extern Clock Fosc=16MHZ
// 8 Bits CRC And enable
I ve written some many years ago dynamic Huffman algorithm to compress and decompress data. It is mainly targeted to data with some symbols occuring more often than the rest (e.g. having some data file consisted of 3 different symbols and their total number of occurence in that file s1(1000), s2(200), s3(30) so the total length of file is 1000+200+30=1230 Bytes, it will be encoded assigning one bit to s1 and 2 bits to s2, s3 so the encoded length will be 1*1000+2*(200+30)=1460 bits=182 Bytes). In the best case the file consisted of just one symbol will be encoded with compression ratio as 1:8. Huffman coding is used in image compression, however in JPEG2000 arithmetic codec is imployed.
Full compliance with the USB Specification v1.1 and USB CDC v1.1
Support the RS232 Serial interface
Support automatic handshake mode
Support Remote wake-up and power management
256 Bytes buffer each for upstream and downstream data flow
Support default ROM or external EEPROM for device configuration
On chip USB transceiver
On chip crystal oscillator running at 12M Hz
Supports Windows 98/SE, ME, 2000, XP, Windows CE3.0, CE .NET, Linux, and Mac OS
28 Pins SOIC package
28
實現8比特字節的RS糾錯編碼,可以指定極性校驗字節數目,能產生的最大校驗序列長度為255字節(含極性校驗字節).This is an implementation of a Reed-Solomon code with 8 bit Bytes, and a configurable number of parity Bytes. The maximum sequence length (codeword) that can be generated is 255 Bytes, including parity Bytes.
ili9320 datasheet.
ILI9320 is a 262,144-color one-chip SoC driver for a-TFT liquid crystal display with resolution of 240RGBx320
dots, comprising a 720-channel source driver, a 320-channel gate driver, 172,800 Bytes RAM for graphic data
of 240RGBx320 dots, and power supply circuit.