#if defined(ARDUINO) && ARDUINO >= 100

#if defined(ARDUINO) && ARDUINO >= 100
#define printByte(args) write(args);
#else
#define printByte(args) print(args,BYTE);
#endif

I've tried searching around but I cant seam to find the answer, what does this code do ? or why is it needed

Why is (ARDUINO) && ARDUINO >= 100 ? or <

Semi Noob .. sorry and thanks in advance!

It's needed because early versions (pre 1.0) had a Serial method "print" which allowed binary when used with the qualifier BYTE, but this has now been superseded by the "write" method.

Got yea ! thanks for the fast reply !