Baud 1200637 (11/29/2004 7:34:20 AM) comp.arch.embedded Hi, I used ATMega16 UART to communicate with a target device which is of baud 1200 but failed. I then tried to communicate the UART with PC COM Port and terminal software. I found the communication is OK when ... leonlai2k
Nested xml tag144 (11/26/2004 12:36:09 AM) comp.lang.java.programmer Hi, Why could I get the incorrect count of tag elements when the tag is nested? I just write some codes for testing in the following. The debug output count is 6 but I expect that it is 3 as the next 3 are ne... leonlai2k
Nest tags39 (11/25/2004 5:38:57 AM) comp.text.xml Hi, Is it legal or formal to nest tag names? My code is in the following. The is nested. I used java to read the xml file but it seems to not know the nested structure. I need to write the nest structure as i... leonlai2k
XML catalog system421 (11/24/2004 12:47:08 PM) comp.lang.java.programmer Hi, I'm going to design a catalog-product system whose data is from 2 xml files: a catalog xml and a product XML. The catalog xml describes a multi-level catalog system, which is like a directory system, and ... leonlai2k
Returning from Subroute633 (11/21/2004 11:16:36 AM) comp.arch.embedded Hi, I used Atmega32(DIP) in my prototype board to test part of my source code, the execution is smooth. Then I ported the code to Atmega64, only little code modifications are required. However, I found the pr... leonlai2k
Pseudocode software113 (11/20/2004 11:55:05 AM) comp.software-eng Hi, Could anyone introduce me free software to write pseudocode? Thanks! ... leonlai2k
PHP error message page276 (11/18/2004 10:57:56 AM) comp.lang.php I want to ask something about error message from PHP. Sometimes the php web page return error messages when the web page has bugs and they sometimes show file names and locations. This make the web site danger... leonlai2k
Graphic LCD busy flag639 (11/17/2004 12:14:36 PM) comp.arch.embedded Hi, I am going to interface a KS0108 128x64 graphic LCD using AVR but encounter a big problem. I find that sometimes the program loops and hangs. I then stop the debugger and finds the program counter is loopi... leonlai2k
Software SPI632 (11/15/2004 9:42:42 AM) comp.arch.embedded Hi, Could anyone give me AVR source code to implement SPI by software? I need it because I want to have SPI and also external interrupt on ATTiny22. But the pins are overlapped if the two functions are used. ... leonlai2k
Get array size by a pointer dynamically423 (11/14/2004 8:20:19 AM) comp.lang.c Hi, Could anyone tell me how to determine the size of array of characters dynamically? For example, : : char *a[]={"hello","hi","kitty"}; char *b[]={"orange","apple"}; void main() { char **p=a; : : } I w... leonlai2k
Keypad data reception648 (11/5/2004 2:01:38 AM) comp.arch.embedded Hi, I am doing a project which needs to interface a AT compatible keypad. I find somethimes the keys returned is wrong. I used external interrupt to obtain serial data from the PS2 interface. I suspect that du... leonlai2k(123)
Atmega16 and MMC321 (11/7/2004 6:26:33 AM) comp.arch.embedded In ATMega16, I want to ask how to use SPI with a MMC card. I have seen that there are 4 pins in ATMega16 which implements SPI. They are SS, MOSI, MISO, SCK. For a MMC card, the 4 pin assignments are 1 CS 2... leonlai2k(123)
Cascade MCU542 (11/13/2004 6:43:46 AM) comp.arch.embedded Hi, I have an idea but not known whether it is possible. During prototype development major MCUs with DIP package only have 40 maximum number of pins. However, sometimes we need to use more I/Os when many ex... leonlai2k(123)
Software SPI632 (11/15/2004 9:42:42 AM) comp.arch.embedded Hi, Could anyone give me AVR source code to implement SPI by software? I need it because I want to have SPI and also external interrupt on ATTiny22. But the pins are overlapped if the two functions are used. ... leonlai2k(123)
Graphic LCD busy flag639 (11/17/2004 12:14:36 PM) comp.arch.embedded Hi, I am going to interface a KS0108 128x64 graphic LCD using AVR but encounter a big problem. I find that sometimes the program loops and hangs. I then stop the debugger and finds the program counter is loopi... leonlai2k(123)
Returning from Subroute633 (11/21/2004 11:16:36 AM) comp.arch.embedded Hi, I used Atmega32(DIP) in my prototype board to test part of my source code, the execution is smooth. Then I ported the code to Atmega64, only little code modifications are required. However, I found the pr... leonlai2k(123)
XML catalog system421 (11/24/2004 12:47:08 PM) comp.lang.java.programmer Hi, I'm going to design a catalog-product system whose data is from 2 xml files: a catalog xml and a product XML. The catalog xml describes a multi-level catalog system, which is like a directory system, and ... leonlai2k(123)
Nest tags39 (11/25/2004 5:38:57 AM) comp.text.xml Hi, Is it legal or formal to nest tag names? My code is in the following. The is nested. I used java to read the xml file but it seems to not know the nested structure. I need to write the nest structure as i... leonlai2k(123)
Baud 1200637 (11/29/2004 7:34:20 AM) comp.arch.embedded Hi, I used ATMega16 UART to communicate with a target device which is of baud 1200 but failed. I then tried to communicate the UART with PC COM Port and terminal software. I found the communication is OK when ... leonlai2k(123)
Bug found in GCC-AVR/ AVRStudio4828 (1/16/2005 2:23:35 PM) comp.arch.embedded Hi, I am using WinAVR-20040720 and AVRStudio 4.10. I have global variable definitions in main.c. One of which is char version[10]="1.0"; However, the version becomes "", i.e., version[0]=0 when the program i... dereklai2k(26)