The process of designing and writing source code as part of a program (or sketch) for Arduino. For questions about uploading code to an Arduino board, use the [uploading] tag instead.
Use this tag for questions regarding programming (writing code) for Arduino. This can include problems with code you've written for Arduino or questions about how/why Arduino code acts in specific ways.
Where a question relates to a particular language, you can also use language-specific tags, such as c++.
Programming questions that are not specific to Arduino (e.g. general questions about a programming language) should be asked on Stack Overflow instead.
Please use the uploading tag for questions regarding uploading sketches to Arduino devices.
Note: With this tag, syntax highlighting will be enabled. For more information, see the syntax highlighting help section.