I got a book along with the Arduino goodies that explains C in real basic terms. To me a lot of the programming looks like the old basic language. I'm dinking with example sketches and getting a handle on C pretty quick. But I have questions about some of the syntax.
In this line:
The second half of the "word" the first character is capitalized. Is this mandatory to type it that way?
The other part is does HIGH always have to be in caps?
The reason I ask is I'm using Simon Monk's book "Programming Arduino - Getting Started with Sketches"
In the book he puts a lot of spaces between items in a line. And that lead to the second word first character in caps.
Is this really a part of how you have to type out in C?
In this line:
Code:
digitalWrite (ledPin, HIGH) ;
The other part is does HIGH always have to be in caps?
The reason I ask is I'm using Simon Monk's book "Programming Arduino - Getting Started with Sketches"
In the book he puts a lot of spaces between items in a line. And that lead to the second word first character in caps.
Is this really a part of how you have to type out in C?