fatal error: delay.h: No such file or directory

The "delay.h" is needed for "_delay_us".
If you use the Arduino function "delayMicroseconds" you can remove the "delay.h".