| ??? 07/16/03 20:50 Read: times |
#50848 - RE: promo schematic and c code Responding to: ???'s previous message |
Hi Waqar,
For examples of C code for the 8051 try visiting sites like Atmel, Keil, Philips, etc. There is a lot available, you just have to do a little bit of searching. You might even find some here... The same is true for learning C. Again, check Keil's site, and try a google search on "C programming tutorial". There are also C programming forums out there. (Also on Keil's site.) Remember that most tutorials (except for those you might find on Keil's site) are PC oriented and as such assume the aid of an operating system for I/O, which is not present in your embedded environment. There are free compilers available, both for the 8051 and the PC. You might get one of each, you can use the PC compiler for most of the tutorials. Don't forget about the evaluation compilers for the 8051, they are fine for most small projects. Dennis |



