[SOLVED] is there standard for the Arduino language, or based on Arduino does

In no particular order:

  1. There is no main() but a setup() and a loop(). main() is hidden in the library. understand what setup() and loop() are for.
  2. Many examples use delay(). People coming from a multitasking environment would assume this is some form of yielding to another process. It is in fact a dead stop in the code and waits for specified time before moving on to the next line. NOTHING HAPPENS during a delay. Need to learn the BlinkWithoutDelay() technique to multitask stuff.
  3. They never read the documentation!
  4. The hardware interface is often not straightforward (eg, switches need to be debounced to work properly)
  5. Nothing happens automatically - if you don't write the code it does not happen.

The stickies at the top of each forum generally captures what the main issues that keep coming up are. If people would just read them ...