Discussion Forum

beginner

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
shang liu
Posted
1-Aug-2002 19:45 GMT
Toolset
None
New! beginner
hi, i just tried out the trial software and i'm stuck. i guess my first question is

how do i run a program?

i can't find the button anywhere and i was wondering if this was a valid command:

printf("test");

the output should be that it prints the word "test" right?

sorry, i'm just starting to learn C...
Read-Only
Author
Jon Ward
Posted
1-Aug-2002 19:51 GMT
Toolset
None
New! RE: beginner
Take a look at the hello world example program in the \KEIL\C51\EXAMPLES\HELLO folder.

Using printf on an embedded microcontroller is not as simple as using "printf".

Jon
Read-Only
Author
Chris Hills
Posted
2-Aug-2002 14:10 GMT
Toolset
C51
New! RE: beginner
Have a look at http://quest.phaedsys.org

There you will find Embedded C Traps and Pitfalls and the C51 Primer on free download as PDf's

For books on C and embedded work look at http://www.accu.org

Next Thread | Thread List | Previous Thread Start a Thread | Settings