blink in microseconds

Hi.. I need to get six leds to blink without delay in microseconds (four ms resolution is more than enough). is this possible?
Also is there any way to change the freq of pwm?

in microseconds (four ms resolution is more than enough)

It is not possible to blink in microseconds yet with four ms resolution. It is possible to blink in microseconds with four microsecond resolution, or to blink in ms with four ms resolution, or to belink in ms with four microsecond resolution.

diyr-makr:
Hi.. I need to get six leds to blink without delay in microseconds

Easy way to do it:

http://www.arduino.cc/en/Reference/DelayMicroseconds

Better way to do it:

http://www.arduino.cc/en/Reference/Micros

  1. Take blink without delay example
  2. replace millis() with micros()
  3. Change numbers accordingly

Simple as that? Great! Thanks!
What about changing the freq of pwm? I've heard it's possible...

diyr-makr:
Simple as that? Great! Thanks!
What about changing the freq of pwm? I've heard it's possible...

With analogWrite? You could try this blog post I found with google: Arduino Diecimila and the Atmega168: Changing PWM Frequency on the Arduino Diecimila and the Atmega168

I'd search around. The terms I used were "arduino change frequency of analogwrite"