Furthermore, the term "sketch" is nothing more than a "marketing term"
Arduino/Wiring probably borrowed the term and claim to have used it for marketing purpose to make it sound less hard than code or program.
Furthermore, the term "sketch" is nothing more than a "marketing term" - one could call it instead "a program" or "source code" or something similar, and it would mean virtually the same thing. The term "sketch" instead is a name to make the system more approachable for newbies to programming.
The use of non programming terms makes the platform more acceptable to people in the arts.
Just wondering what values you set your D to. Most of the time, a non-zero D leads to jittery responses since it draws from the change of values over short period of time. I usually only use P and I and only use D if the single is relatively clean and I need a faster response.
PS: crOsh: I still stand by my assertion that the language used to program the Arduino is a 'sketch' and not C. Although it uses much of the C language there are many Arduino specific terms which are not in any C definition that I know of. It is misleading to call it C. I am still working my way through all the Arduino specific stuff.
Every programming environment has some standard functions to do things on their target systems. If you program for a PC, you probably have functions to call a shell, get path, time, open files on a FAT or NTFS system etc. These don't make your C a "PC programming language". It's still C. If you read an Eastern Indian cookbook written in English, do you say it's written in "Indian food language" or do you say it's written in English? Yeah, you find curry and Indian eggplant very seldom used in cooking pasta or other western dishes, but that cookbook is still in English, not "Indian food language".
Maybe they would have less magic smoke if they smoked less magic...