This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C

I was hoping to find on-line manuals that I could print and read on the john. So far no luck. But what I really need is how to declare variables in C.

For example, I have a sample code that has the statement:

unsigned char

and

unsigned long

What do these mean and do they limit the declaration to integers. What do i declare if I want a floating point?

Also, someone told me I cant do floating point with a Keil Compiler because of licensing issues (I got my copy from Silicon Labs and have just registered it). I will eventually need to do trig functions. What do i have to get (buy) to complete my project?

Parents
  • I've been doing micro-controllers for 30+ years in assembly language. Sure, my experience is probably limited compared to you guys but give me a break.

    On what basis should we have done that? Read your own OP again, slowly. What in there would make you guess that the author is anything other than a complete newbie on his first microcontroller project ever?

    Seems to me C was invented to get the job done fast and not efficient.

    Calling that conclusion premature would be doing it an unjustified favour.

Reply
  • I've been doing micro-controllers for 30+ years in assembly language. Sure, my experience is probably limited compared to you guys but give me a break.

    On what basis should we have done that? Read your own OP again, slowly. What in there would make you guess that the author is anything other than a complete newbie on his first microcontroller project ever?

    Seems to me C was invented to get the job done fast and not efficient.

    Calling that conclusion premature would be doing it an unjustified favour.

Children
No data