Thank you for the answers!
The other pins can be "hacked" to do the same thing, but it's complicated.
The code I use to run this "pseudo-pwm" (?) isnt very complicated at all, I might not have understood the definition completely though. Including for completion.
void setup()
{
Serial.begin(9600);
pinMode(7, OUTPUT);
}
unsigned char speed;
unsigned int low = 1;
unsigned int high = 10;
unsigned int baseTime = 10;
void loop()
{
digitalWrite(7,LOW);
delayMicroseconds(low*10);
digitalWrite(7,HIGH);
delayMicroseconds(high*10);
if (Serial.available())
{
speed = Serial.read() - 48;
low = speed;
high = baseTime - speed;
}
}
Source: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1231205087/0